Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1385 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
dec. 24
1723
1
jul. 21
3496
0
mrt. 25
806
1
jun. 24
1934
1
feb. 23
2949