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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
d’oct. 20
|
3894 | ||
|
0
de juny 24
|
1466 | ||
|
1
de maig 24
|
2980 | ||
|
2
d’ag. 23
|
2927 | ||
|
0
de febr. 22
|
2675 |