diff --git a/pos_access_right_hr/doc/RELEASE_NOTES.md b/pos_access_right_hr/doc/RELEASE_NOTES.md index 64db7ec05..96e012f21 100644 --- a/pos_access_right_hr/doc/RELEASE_NOTES.md +++ b/pos_access_right_hr/doc/RELEASE_NOTES.md @@ -15,3 +15,8 @@ #### Version 17.0.2.1.2 ##### BUG_FIX - 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. diff --git a/pos_access_right_hr/static/src/js/ActionpadWidget.js b/pos_access_right_hr/static/src/js/ActionpadWidget.js index a439863c0..5f9413655 100644 --- a/pos_access_right_hr/static/src/js/ActionpadWidget.js +++ b/pos_access_right_hr/static/src/js/ActionpadWidget.js @@ -16,7 +16,6 @@ patch(ActionpadWidget.prototype, { }, disable_payment() { if (this.pos.cashier?.disable_payment) { - return true; } else { return false; diff --git a/pos_access_right_hr/static/src/xml/ActionpadWidget.xml b/pos_access_right_hr/static/src/xml/ActionpadWidget.xml index 5ff647ffd..c86d3d5f4 100644 --- a/pos_access_right_hr/static/src/xml/ActionpadWidget.xml +++ b/pos_access_right_hr/static/src/xml/ActionpadWidget.xml @@ -12,8 +12,8 @@ - + t-inherit="pos_restaurant.SplitBillScreen" t-inherit-mode="extension"> + disable_payment()