From cfa29af24d074cc40894c0b90ba4f5abe2cbcdf6 Mon Sep 17 00:00:00 2001 From: Cybrosys Technologies Date: Wed, 18 Jun 2025 14:21:44 +0530 Subject: [PATCH] Jun 18: [FIX] Bug fixed 'pos_access_right_hr' --- pos_access_right_hr/doc/RELEASE_NOTES.md | 5 +++++ pos_access_right_hr/static/src/js/ActionpadWidget.js | 1 - pos_access_right_hr/static/src/xml/ActionpadWidget.xml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) 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()