Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
6397 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
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

Publications associées Réponses Vues Activité
0
oct. 20
3970
0
juin 24
1525
1
mai 24
3185
2
août 23
2987
0
févr. 22
2780