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

product price calculation with Python code?

By
gunnar
on 10/9/14, 7:08 AM 1,518 views

by default you can enter a costs price and a sales price for each product. Shortcoming: you can not reconstruct how you came to the sales price. For example it might be a policy to add a fixed rate for transportation plus a margin in % to cost price. For now you'd need to calculate that outside of odoo (and then have no record of how you did that) which reminds me of the many Excel's you are piling up somewhere on a fileserver and try to not loose track of them (a stone age scenario from an ERP perspective I think)

So if you could use python code in the odoo 'products' (as you can in the salary calculation [I think it's 'hr_payroll_account'] with "salary rules" and "salary structures") to calculate your Sales price that would be something nice. So, how can you achieve that?

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 10/10/14, 12:12 PM

You can use the Pricelist to achieve that. (Pricing Policies - On You Tube: Price List V7 and How to configure PriceList in OpenERP)

You can also use some extra modules like: Delivery Costs , Custom cost Price, Price List Builder ...

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

4 follower(s)

Stats

Asked: 10/9/14, 7:08 AM
Seen: 1518 times
Last updated: 3/16/15, 8:10 AM