Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1350 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
dic 24
1666
1
lug 21
3479
0
mar 25
777
1
giu 24
1919
1
feb 23
2932