Browse Source

Jun 18: [FIX] Bug fixed 'pos_access_right_hr'

17.0
Cybrosys Technologies 1 week ago
parent
commit
cfa29af24d
  1. 5
      pos_access_right_hr/doc/RELEASE_NOTES.md
  2. 1
      pos_access_right_hr/static/src/js/ActionpadWidget.js
  3. 4
      pos_access_right_hr/static/src/xml/ActionpadWidget.xml

5
pos_access_right_hr/doc/RELEASE_NOTES.md

@ -15,3 +15,8 @@
#### Version 17.0.2.1.2 #### Version 17.0.2.1.2
##### BUG_FIX ##### BUG_FIX
- Bug fix: Payment button on the tab screen is no longer restricted in portrait mode. - Bug fix: Payment button on the tab screen is no longer restricted in portrait mode.
#### 16.06.2025
#### Version 17.0.2.1.3
##### BUG_FIX
- Bug fix: POS Restaurant session failed to load correctly.

1
pos_access_right_hr/static/src/js/ActionpadWidget.js

@ -16,7 +16,6 @@ patch(ActionpadWidget.prototype, {
}, },
disable_payment() { disable_payment() {
if (this.pos.cashier?.disable_payment) { if (this.pos.cashier?.disable_payment) {
return true; return true;
} else { } else {
return false; return false;

4
pos_access_right_hr/static/src/xml/ActionpadWidget.xml

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

Loading…
Cancel
Save