Skip to Content
Menu
This question has been flagged
1 Atsakyti
1332 Rodiniai

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.

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
gruod. 24
1654
1
liep. 21
3475
0
kov. 25
773
1
birž. 24
1913
1
vas. 23
2927