Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When we activate Use pricelists to adapt your price per customers form sales configuration page.
The following assumption is required:
the user must select product (when he create sales order line) from pricelist item model not product.product
Can anyone guide me to custom add-on which execute this assumption?
That's not correct. The Pricelists are not only used with product.product. You could use it with product.template and product.category. The sale.order is the responsible for validate if the pricelist apply or not to the sale.order.line products when calculating the price_unit for the sale.order.line. You could create a dynamic domain that could filter products on the sale.order.line based in all the pricelist version elements but also it's not correct because only one pricelist version element is selected when computing the price_unit and is the one that best matches to the sale.order.line in terms of (product, qty, sale date and sequence of the pricelist version element, min and max margin specified that also could be based on another pricelist). So you could filter for all the products that matches the pricelist final target products(not an easy task) but it's not recommended.
Only my opinion
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/9/16, 8:41 AM|
|Seen: 791 times|
|Last updated: 3/9/16, 5:58 PM|