Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
6339 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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

Penulis

thanks that worked like butter

Post Terkait Replies Tampilan Aktivitas
0
Okt 20
3895
0
Jun 24
1467
1
Mei 24
2985
2
Agu 23
2927
0
Feb 22
2678