diff --git a/custom_receipts_for_pos/__manifest__.py b/custom_receipts_for_pos/__manifest__.py index 8bce1d665..23160ed80 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.2', + 'version': '18.0.1.0.3', '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 cb4c97e95..39badcede 100644 --- a/custom_receipts_for_pos/doc/RELEASE_NOTES.md +++ b/custom_receipts_for_pos/doc/RELEASE_NOTES.md @@ -13,4 +13,9 @@ #### 28.05.2025 #### Version 18.0.1.0.2 ##### BUG FIX -- Fixed the issues in the custom receipts which show error while printing the receipts. \ No newline at end of file +- Fixed the issues in the custom receipts which show error while printing the receipts. + +#### 06.08.2025 +#### Version 18.0.1.0.3 +##### BUG FIX +- Fixed the issues in the custom receipts which show error while loading the POS receipts screen. \ 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 649cc686a..83edd6417 100644 --- a/custom_receipts_for_pos/static/src/js/receipt_design.js +++ b/custom_receipts_for_pos/static/src/js/receipt_design.js @@ -6,6 +6,7 @@ import { useService } from "@web/core/utils/hooks"; patch(OrderReceipt.prototype, { setup(){ + console.log('setupp') super.setup(); this.state = useState({ template: true, @@ -14,6 +15,7 @@ patch(OrderReceipt.prototype, { }, get templateProps() { + console.log('templateProps') return { data: this.props.data, order: this.pos.get_order(), @@ -23,6 +25,7 @@ patch(OrderReceipt.prototype, { }; }, get templateComponent() { + console.log('templateComponent') var mainRef = this; return class extends Component { setup() {} @@ -30,6 +33,7 @@ patch(OrderReceipt.prototype, { }; }, get isTrue() { + console.log('isTrue') if (this.env.services.pos.config.is_custom_receipt == false) { return true; } 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 26219a508..0a96c57f1 100644 --- a/custom_receipts_for_pos/static/src/xml/order_receipt.xml +++ b/custom_receipts_for_pos/static/src/xml/order_receipt.xml @@ -4,6 +4,7 @@
+
- +
--------------------------------
@@ -78,7 +79,9 @@
To Pay - + +