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

What was the logic behind the pricelist price percentage rule change from odoo 8 to 9?

By
Luis Alfredo da Silva
on 6/5/16, 12:26 PM 405 views

I want to add a profit percentage in odoo 9 with a pricelist rule formula, and searching in web I only find the option to do it but with the odoo version 8, because the formula in code changed to odoo 9.

Here is the code line in odoo 8 for that rule:

https://github.com/odoo/odoo/blob/8.0/addons/product/pricelist.py#L342


and here is the current code line in odoo 9: 

https://github.com/odoo/odoo/blob/9.0/addons/product/pricelist.py#L235


Because that change I have no option to add to the price a percentage to set a margin profit in a pricelist rule, maybe in odoo 9 there is another way to accomplish what I want or not. Some of yours can give me a great answer to this.

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

1 follower(s)

Stats

Asked: 6/5/16, 12:26 PM
Seen: 405 times
Last updated: 6/5/16, 12:57 PM