Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
Lines of code | 610 |
Technical Name |
custom_receipts_for_pos |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Versions | 14.0 15.0 16.0 17.0 18.0 |

POS Receipt Designs
Option to select the customised Receipts for each POS.

Key Highlights
Adding of Receipt Design.
User can add the receipt designs from the backend in the menu Receipt Designs.
Choosing for Current Receipt Design.
User can choose whether the current POS needs custom receipt design.
Choosing of Receipt in Frontend.
We can see that chosen receipt in frontend of the POS.
Editing of Receipt Design.
We can edit the receipt design from the backend of the POS.

Default Receipt of POS.
This is the default receipt of POS.


Receipt Designs
We can add the receipt designs from the backend in the menu 'Receipt Designs'.

Choose receipt design for POS.
We can choose the receipt design for each POS from the backend of the POS.

Edit receipt designs for POS.
We can edit the receipt design from the backend of the POS.


Chosen receipt in the frontend
We can see the chosen receipts for the POS in the frontend of the POS.
-
User can add the receipt designs from the backend in the menu Receipt Designs.
-
Choosing of Receipt in Frontend.
-
User can choose whether the current POS needs custom receipt design.
-
We can edit the receipt design from the backend of the POS.
Initial Commit for POS Receipt Designs.
Fixed the error in printing the receipt.
Fix the receipt selection for each point of sales.
Move the configuration to select the receipt from configuration settings to POS configuration.
Updated the tracking number to custom receipt screen and fixed the issues when tip is enabled.
Related Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Support
Got questions or need help? Get in touch.
Say hi to us on WhatsApp!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedTypeError: el.classList is not iterable
It gives a render error when trying to print from odoo 17 community, even if the pos is not using the custom receipt they are affected by this error
Re:
We have reviewed the issue but were unable to reproduce it. Could you please provide more details about the problem? You can email to odoo@cybrosys.com
It's not working when restaurant mode is enabled
When the pos session is in restaurant mode, the reprint receipt features is not working and causing pos white screen.
Re: It's not working when restaurant mode is enabled
Thank you for your feedback! We’re happy to inform you that your issue has been resolved. Please get the latest version.
Perfect receipt module
Hi,
The receipt is perfect, but how do we insert the tracking number on your custom receipt?
Thanks
Re: Perfect receipt module
We have updated the app. Please get the latest version.
Logo
How to insert Logo?
Re: Logo
If you want to insert a logo, you can add the code below to the desired design under Configuration > Receipt Designs. Paste the code into the section where you want the logo to appear. Don't forget to replace the image path with your own and adjust the size as needed.
style="max-width:100px; max-height:50px;"
alt="Company Logo"/>
Didn't work when try to import the module
Didn't work when try to import the module
got this error
Invalid Operation
Error while importing module 'custom_receipts_for_pos'. Module loading custom_receipts_for_pos failed: file /tmp/tmp69_6oz0e/custom_receipts_for_pos/security/ir.model.access.csv could not be processed: No matching record found for external id 'model_pos_receipt' in field 'Model' Missing required value for the field 'Model' (model_id)
Re: Didn't work when try to import the module
Importing won't work with this app.
You have to place the app in your addons folder.
can't print odoo 17
TypeError: el.classList is not iterable
at applyWhenMounted (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8616:1176)
at Object.whenMounted
Need administration permission
TypeError: el.querySelectorAll is not a function at loadAllImages
TypeError: el.querySelectorAll is not a function at loadAllImages (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:91933:23) at PosPrinterService.print (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:80398:15) at async ReceiptScreen.printReceipt (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:83000:27)
Hello. Could you tell me how to add the customer data to the ticket? Do you have any documentation for creating ticket templates?
Re:
To add customer data to the ticket, you can customize the POS receipt templates in Odoo. We have a detailed blog explaining how to do this. Please refer to the link below for step-by-step guidance:
How to Customize POS Receipts in Odoo 17
duplicated order reference
in restaurant when open more than table and close the last and print order
the order reference take the the first table order reference
Re: duplicated order reference
This issue could be linked to the demo data rather than this add-on.
It's not working when restaurant mode is enabled
When the pos session is in restaurant mode, the reprint receipt features is not working and causing pos white screen.
Re: It's not working when restaurant mode is enabled
Thank you for your feedback! We’re happy to inform you that your issue has been resolved. Please get the latest version.
Hi, how do we insert the tracking number on your custom receipt? Coz whenever i try i get an error. Thanks
In odoo 17 when I try to install the app It show this error :
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1764, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
result = func()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1791, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1995, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 741, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-77>", line 2, in button_immediate_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 466, in button_immediate_install
return self._button_immediate_function(self.env.registry[self._name].button_install)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 590, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "<decorator-gen-16>", line 2, in new
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 113, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 227, in load_module_graph
load_data(env, idref, mode, kind='data', package=package)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 621, in convert_file
with file_open(pathname, 'rb') as fp:
File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 214, in file_open
path = file_path(name, filter_ext=filter_ext, env=env)
File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 193, in file_path
raise FileNotFoundError("File not found: " + file_path)
FileNotFoundError: File not found: custom_receipts_for_pos/data/pos_receipt_data.xml
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
the problem is :
raise FileNotFoundError("File not found: " + file_path)
FileNotFoundError: File not found: custom_receipts_for_pos/data/pos_receipt_data.xml
Can't add logo in design
Thanks for helping
Attributes
I am using your module to print custom format for pos receipt, it is working fine, but the receipt is not showing any variant or attribute selected addisionally on the products, for example, is client choose Burger which has two choices, brown bread or normal bread, if the selection is made, its not showing on the receipt, while in standard odoo format, it shows the variant on the receipt. kindly check and update your module.
Re: Attributes
Thanks for reporting. We have updated the app. Please get the latest version.
Printing isuee
HI
thank you for your module
I have one problem when using this module
for example if i have more than one order in Restaurant on the bill printing shows the first order item-
example
i took order by this line:
1- table 1: 2 water
2- table 4: 3 chicken
3- table 2: 1 tea
4- table 5: sandwich
so,
at this time when I select table 3 and finish the payment
the bills print with item
2 water
Re: Printing isuee
Thanks for your feedback, We have updated the app. Please get the latest version.
Reprint
Hi!
On design2
Regard's
Re: Reprint
We couldn't reproduce this issue. Could you please share more details?
you can email to odoo@cybrosys.com
Good module
Re: Good module
We couldn't reproduce this issue,
Regarding the logo,
If you want to insert a logo, you can add the code below into the desired design found under Configuration > Receipt Designs. Paste the code into the section where you want the logo to appear. Don't forget to replace the image path with your own and adjust the size as needed.
style="max-width:100px; max-height:50px;"
alt="Company Logo"/>
I have tried throughly. It doesn’t fetch products details when old POS receipt is printed from Refund>Print Receipt which is working fine when we use native receipt. Please fix this.
Re:
Thanks for reporting. We have updated the app.
Not printing products otherwise fun to play with.
products do not appear.
Re: products do not appear.
Thanks for reporting, We have updated the app.
How about adding some readme.md for instructions?
How about adding some readme.md for instructions?
Re: How about adding some readme.md for instructions?
Thanks for your suggestion. We will try. FYI, Module is explained in the index page
ERROR when Attempting to print
version : '17.0.1.0.3
TypeError: el.classList is not iterable at applyWhenMounted (https://xxxxxx.odoo.com/web/assets/d76ac3c/point_of_sale.assets_prod.min.js:8616:1176)
Re: ERROR when Attempting to print
The issue has been resolved, and the module is now updated in the Odoo App Store.
Can´t print on odoo17
App version: 17.0.1.0.3
TypeError: el.classList is not iterable
at applyWhenMounted (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8616:1176)
at Object.whenMounted (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8616:874)
at PosPrinterService.printWeb (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8599:28)
at PosPrinterService.printWeb (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8589:29)
at PosPrinterService.printHtml (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8600:96)
at PosPrinterService.printHtml (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8590:87)
at PosPrinterService.print (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8604:19)
at async ReceiptScreen.printReceipt (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8923:112)
Re: Can´t print on odoo17
The issue has been resolved, and the module is now updated in the Odoo App Store.
Can´t print on odoo17
TypeError: el.classList is not iterable
at applyWhenMounted (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8616:1176)
at Object.whenMounted (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8616:874)
at PosPrinterService.printWeb (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8599:28)
at PosPrinterService.printWeb (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8589:29)
at PosPrinterService.printHtml (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8600:96)
at PosPrinterService.printHtml (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8590:87)
at PosPrinterService.print (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8604:19)
at async ReceiptScreen.printReceipt (xxxxxxxxx/web/assets/a5733cc/point_of_sale.assets_prod.min.js:8923:112)
Re: Can´t print on odoo17
The issue has been resolved, and the module is now updated in the Odoo App Store.
error on odoo 17
i have error :
typeError : el.classList is undefined
I've updated to 17.0-20240603 and the error "The module custom_receipts_for_pos cannot be downloaded" has dissappear. Maybe is not compatible with 17.0-20231130.
But now, when the module is installed I got this error:
odoo-17 | 2024-06-13 11:31:59,126 1 WARNING www.mysite.es odoo.addons.web.controllers.binary: Parsing asset bundle point_of_sale.assets_prod.min.js has failed: The element '' could not be located in the parent view
How I can fixes it?
Re:
Please restart the Odoo service, create a fresh database for testing, and upgrade the module. Looks like the add-on changes were not updated in the current database
Hello. I'm trying to install this module (custom_receipts_for_pos) but I get this error when clicking on "activate" button from Application section in Odoo.
Invalid Operation
The module custom_receipts_for_pos cannot be downloaded
What can i do?
Thanks
Hello, I've been trying to use it with "" elements but it just ignores it or replaces it with the texts inside :(, I wonder if its possible to somehow make the xpath selectors work, like in a normal template.
This could be really useful when its only needed to hide, replace or add some parts.
Thanks for the addon!
Re:
The module is replacing the base PoS receipt template with the template that we can provide through the configuration. So, it is not possible to use the Xpath selectors here.But as mentioned here, if you have only small changes in the default PoS receipt, then you can copy that template to the Receipt Designs and add the changes that you would like to add to the template.
Getting error while Printing Please How to solve this
error:TypeError: el.querySelectorAll is not a function at loadAllImages (http://localhost:8069/web/assets/debug/point_of_sale.assets_prod.js:91882:23) at PosPrinterService.print (http://localhost:8069/web/assets/debug/point_of_sale.assets_prod.js:80375:15) at async ReceiptScreen.printReceipt (http://localhost:8069/web/assets/debug/point_of_sale.assets_prod.js:82977:27)
Re: Getting error while Printing Please How to solve this
Please make sure you are using the latest version.
Throw error after installation
TypeError: el.querySelectorAll is not a function
at loadAllImages (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:9959:82)
at PosPrinterService.print (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:8595:97)
at async PaymentScreen.afterOrderValidation (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:8704:261)
at async PaymentScreen.afterOrderValidation (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:10953:245)
at async PaymentScreen._finalizeValidation (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:8701:1)
at async PaymentScreen.validateOrder (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:8695:1)
at async PaymentScreen.validateOrder (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:11046:459)
at async PaymentScreen.validateOrder (https://fhdepot-sandbox-12812103.dev.odoo.com/web/assets/001b251/point_of_sale.assets_prod.min.js:9854:17)
TypeError: el.querySelectorAll is not a function at loadAllImages
TypeError: el.querySelectorAll is not a function at loadAllImages (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:91933:23) at PosPrinterService.print (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:80398:15) at async ReceiptScreen.printReceipt (http://localhost:8077/web/assets/debug/point_of_sale.assets_prod.js:83000:27)