Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1371 Prikazi

I have Added Extra fields to the /17.0/addons/product/models/product_template .py and to the product template view too and was able to display it.


The problem is that I want to display it by adding it in the /odoo-/17.0/addons/point_of_sale/views/report_saledetails.xml


But the error is saying I should add the field to the model of report_saledetails.xml which I can't figure out.

Avatar
Opusti
Best Answer

The report is based on the pos.session model, you need to extend this model to include the custom fields from product.template.

Regards
NIZAMUDHEEN MJ
Accurates

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
dec. 24
1682
1
jul. 21
3485
0
mar. 25
794
1
jun. 24
1926
1
feb. 23
2943