Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1317 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 24
1631
1
čvc 21
3473
0
bře 25
770
1
čvn 24
1907
1
úno 23
2922