コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
6403 ビュー

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    

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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

著作者

thanks that worked like butter

関連投稿 返信 ビュー 活動
0
10月 20
3972
0
6月 24
1557
1
5月 24
3203
2
8月 23
2991
0
2月 22
2780