mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 05:31:59 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t
|
||||
t-name="ActionpadWidget"
|
||||
t-inherit="point_of_sale.ActionpadWidget"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath
|
||||
expr="div[hasclass('actionpad')]//button[hasclass('pay')]"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute
|
||||
name="t-att-class"
|
||||
>{'disabled-mode': !hasPaymentControlRights}</attribute>
|
||||
<attribute name="t-att-disabled">!hasPaymentControlRights</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t
|
||||
t-name="NumpadWidget"
|
||||
t-inherit="point_of_sale.NumpadWidget"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath
|
||||
expr="div[hasclass('numpad')]//button[hasclass('numpad-minus')]"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute
|
||||
name="t-att-class"
|
||||
>{'disabled-mode': !hasMinusControlRights}</attribute>
|
||||
<attribute name="t-att-disabled">!hasMinusControlRights</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t
|
||||
t-name="TicketScreen"
|
||||
t-inherit="point_of_sale.TicketScreen"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath
|
||||
expr="//div[hasclass('ticket-screen')]//button[hasclass('highlight')]"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute
|
||||
name="t-att-class"
|
||||
>{'disabled-mode': !hasNewOrdersControlRights}</attribute>
|
||||
<attribute name="t-att-disabled">!hasNewOrdersControlRights</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue