Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1325 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
дек. 24
1643
1
июл. 21
3474
0
мар. 25
773
1
июн. 24
1911
1
февр. 23
2927