Skip to Content
मेन्यू
You need to be registered to interact with the community.
This question has been flagged
1 Reply
512 Views

Hi everyone,

I’m trying to override the Product Info Popup in Odoo 17 POS using a custom module. I followed the standard asset extension method via the __manifest__.py file:

"assets": { 
​"point_of_sale.assets_pos": [ "my_post_test/static/src/xml/product_info_popup.xml", ], 

​}

My product_info_popup.xml inherits point_of_sale.ProductInfoPopup, and I've confirmed the XPath targets are correct. However, no changes appear in the UI, and no errors show in the browser console or logs.

I’ve verified:

  • Folder is correctly mounted (/mnt/extra-addons)
  • Module is installed and updated using --stop-after-init
  • Asset path is accurate
  • Dev mode with ?debug=1 is active

But the popup still loads the default view, ignoring my injected code. Has anyone faced the same issue or knows what might be missing?



Note: I install on localhost using docker for running odoo

Thanks in advance!

Avatar
Discard
Best Answer

'point_of_sale.assets_pos' doesn't exist in core Odoo 17.

The correct key for these assets is 

point_of_sale._assets_pos

See https://github.com/odoo/odoo/blob/17.0/addons/point_of_sale/__manifest__.py#L81

Also, find an inheritance example here https://github.com/odoo/odoo/blob/17.0/addons/pos_sale_product_configurator/__manifest__.py#L17

Avatar
Discard
Related Posts Replies Views Activity
2
अप्रैल 25
1029
0
मार्च 25
896
0
अप्रैल 25
620
1
फ़र॰ 25
1008
0
फ़र॰ 25
813