Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2118 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
2791
1
lip 21
4003
0
mar 25
1245
1
cze 24
2489
1
lut 23
3430