|
|
@ -10,4 +10,11 @@ |
|
|
|
<attribute name="t-att-disabled">disable_customer()</attribute> |
|
|
|
</xpath> |
|
|
|
</t> |
|
|
|
<!-- Inheriting ProductScreen template for adding the button disable feature --> |
|
|
|
<t name="pos_access_right_hr.ProductScreen" owl="1" |
|
|
|
t-inherit="point_of_sale.ProductScreen" t-inherit-mode="extension"> |
|
|
|
<xpath expr="//button[hasclass('pay-button')]" position="attributes"> |
|
|
|
<attribute name="t-att-disabled">disable_payment()</attribute> |
|
|
|
</xpath> |
|
|
|
</t> |
|
|
|
</templates> |
|
|
|