diff --git a/custom_receipts_for_pos/__manifest__.py b/custom_receipts_for_pos/__manifest__.py index d4b9a9723..0e2d2fd2b 100644 --- a/custom_receipts_for_pos/__manifest__.py +++ b/custom_receipts_for_pos/__manifest__.py @@ -22,7 +22,7 @@ ################################################################################ { 'name': 'POS Receipt Design', - 'version': '18.0.1.0.4', + 'version': '18.0.1.0.5', 'category': 'Point of Sale', 'live_test_url': 'https://www.youtube.com/watch?v=sHQUam5F5Qs', 'summary': "POS Receipt, Receipt Design, POS Receipt Template, Design " diff --git a/custom_receipts_for_pos/doc/RELEASE_NOTES.md b/custom_receipts_for_pos/doc/RELEASE_NOTES.md index 817740e52..3b860b5b3 100644 --- a/custom_receipts_for_pos/doc/RELEASE_NOTES.md +++ b/custom_receipts_for_pos/doc/RELEASE_NOTES.md @@ -23,4 +23,9 @@ #### 29.10.2025 #### Version 18.0.1.0.4 ##### BUG FIX -- Fixed the POS issue displaying the default receipt despite a selected custom design. \ No newline at end of file +- Fixed the POS issue displaying the default receipt despite a selected custom design. + +#### 18.11.2025 +#### Version 18.0.1.0.5 +##### BUG FIX +- Fixed the POS issue where the receipt design was not appearing even if a design is selected. \ No newline at end of file diff --git a/custom_receipts_for_pos/static/src/js/receipt_design.js b/custom_receipts_for_pos/static/src/js/receipt_design.js index 67068e4b2..07f686b43 100644 --- a/custom_receipts_for_pos/static/src/js/receipt_design.js +++ b/custom_receipts_for_pos/static/src/js/receipt_design.js @@ -29,9 +29,6 @@ patch(OrderReceipt.prototype, { }; }, get isTrue() { - if (this.env.services.pos.config.is_custom_receipt == false) { - return false; - } - return true; + return this.env.services.pos.config.is_custom_receipt; } }); diff --git a/custom_receipts_for_pos/static/src/xml/order_receipt.xml b/custom_receipts_for_pos/static/src/xml/order_receipt.xml index fa28e989f..58b7a8a0d 100644 --- a/custom_receipts_for_pos/static/src/xml/order_receipt.xml +++ b/custom_receipts_for_pos/static/src/xml/order_receipt.xml @@ -5,6 +5,9 @@
+ + +
- +
--------------------------------
@@ -165,9 +168,6 @@
- - -