Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1323 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Dez. 24
1639
1
Juli 21
3473
0
März 25
771
1
Juni 24
1909
1
Feb. 23
2924