Skip to Content
Menu
This question has been flagged
1 Reply
106 Views

I have an issue I can't resolve, which prevents me from opening POS I attempted to duplicate a product, and then after saving, I went to Refresh on the POS terminal.

When pressing the Open Register button, nothing happens. In the dev console, I can see this error:

Uncaught Error: Error while loading "point_of_sale.assets_prod.bundle.xml":

Error: Template point_of_sale.OrderReceipt already exists

google suggested there is probably a custom module that is loading as well and causing a conflict, I have a pretty vanilla setup, not too many custom modules. most from OCA.

Then I tried this to see which of my modules are using the same template:

odoo dir$  grep -rnw '/custom_addons/' -e 'point_of_sale.OrderReceipt'

  which gave me this one result:

custom_addons/advanced_pos_reports/__manifest__.py:67:            'advanced_pos_reports/static/src/js/OrderReceipt.js',
custom_addons/advanced_pos_reports/static/src/js/OrderReceiptPopup.js:5:import { OrderSummaryReceipt } from "./OrderReceipt";


While I do need this module, I tried to uninstall it to see if that resolves the issue, I then restarted odoo service, but the issue persist and I still can't load POS in the front end (back of the house working fine, I can add product run reports etc, but front end is not responding and can't open it)


My Odoo log file, already with DEBUG mode, doesn't give me any clues to work with. 

Any ideas what it can be or how I can resolve? Is there a way I can reinstall point_of_sale.assets_prod.bundle.xml, as this is part of Odoo core? 

I am using self-hosted Odoo CE V18

TIA for any ideas

Avatar
Discard
Author Best Answer

ok was able to figure it out finally, I had several files that I have renamed such as (order_receipt-08182025.xml, order_receipt.xml.orig18) in the same folder as order_receipt.xml, I guess odoo was trying to load these as well and caused the conflict. I thought renaming them would prevent them from being loaded. once I removed them from the containing folder and reloaded the service I was able to open POS

Its just weird because I did had several server reloads since they were there and it was never an issue.

Avatar
Discard