Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>