Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Linking POs to a SO

By
Sytse
on 11/30/14, 7:10 AM 779 views

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!

a

asdfgh123
on 11/30/14, 7:12 AM

Are you using MRP? If so, a PO may create MO and MO may then create Procurement Order which in turn will create Sale Order. You might want to try that route.

Ivan
on 11/30/14, 10:35 PM
0

Hi,

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.

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 11/30/14, 7:10 AM
Seen: 779 times
Last updated: 3/16/15, 8:10 AM