Community mailing list archives

community@mail.odoo.com

How to show the cost price in the Details of Sale form?

by
ameer ashraf
- 10/28/2015 23:20:35
Hello ,

My situation is I added a 'Cost of Price' n 'Profit' margin in the report
form of Details of Sales from the POS module in order to show the cost
price n profit value in that form.


                
My problem is i could not call the cost price id to be the input for the cost price value. As far as i know the cost price id is 'standard_price'. i tried to create new id by editing the pos_detail.py file. but nothing happen. Is that any other way for me to call the cost price id to be the input in the Cost Price table (cost value)?
Date Order Product Cost of Price Profit Price Qty Disc(%) Invoiced
[ ] profit value