Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
6416 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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

Autor

thanks that worked like butter

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Okt. 20
3988
0
Juni 24
1559
1
Mai 24
3216
2
Aug. 23
3015
0
Feb. 22
2783