Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
6366 Weergaven

I just need to know that how can I add the field cost price on the odoo POS Sale Details report,

also please give the location or code that where can I copy my code to    

Avatar
Annuleer
Beste antwoord

Hi,

The code for original sale report is in the path addons/point_of_sale/views/report_saledetails.xml. You can inherit the template "report_saledetails" to add the cost price.
To know about inheriting existing report you can refer the blog below

https://www.cybrosys.com/blog/modifying-existing-qweb-reports-in-odoo13

If you need to add from Odoo itself follow the steps below

->Activate developer mode from settings

->Go to Technical->User Interface->Views->report_saledetails then edit the view like below


Regards

Avatar
Annuleer
Auteur

can I add the code without inheiriting the template, it will be great if i can do the same with front end, can I ?

Hi,

We have updated the answer please try that

Auteur

thanks that worked like butter

Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 20
3934
0
jun. 24
1492
1
mei 24
3095
2
aug. 23
2965
0
feb. 22
2723