At the moment I am implementing OE v7 in an existing company. This production-company is used to custom make goods (all make-to-order). To complete production of a sales order 3different costs can occur: stock items are used, hours logged to this SO, and PO's linked to this order(external rented people, special purchased items). Now in the end I need a summary of each sales order telling me the margin made. So 1 report telling me the sales price substracted by all the costs.
What is the best to do? I is there a way to link PO's to a SO? Or do I have to work with projects or analytic accounts?
Thaks a lot!
The sale_margin module does just that. It "gives the profitability by calculating the difference between the Unit Price and Cost Price."
1. Install the module from Settings > Local Modules > sale_margin
2. Go to Settings > Configuration > Sales and tick the "Display margins on sales orders"
3. Test this by generating a sales order. Make sure to set correct costs on your products.
The following link to the code can clairify the computations made: https://github.com/steedos/odoo8/blob/master/openerp/addons/sale_margin/sale_margin.py
I hope this helps.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/30/14, 7:10 AM|
|Seen: 737 times|
|Last updated: 3/16/15, 8:10 AM|