跳至内容
菜单
此问题已终结

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.

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
12月 24
1663
1
7月 21
3478
0
3月 25
777
1
6月 24
1918
1
2月 23
2930