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.
Hello, I have Odoo 7 running under Windows XP.
I want to set a rule that update the sale price for the default pricelist in function of the LAST buy price.
For example, a rule that says "the sale price is the last buy price with a 30% of charge"
I buy 30 units of a product A for $10 per unit. The sale price for the product now is $13.
Then I buy 10 units of product A for $20 per unit. Then the sale price (for the all units) must automatically update to $26.
How can I do this? Thanks!
Jose, you need to develop the logic. I would think that you need to inherit the do_change_standard_price method of product.product. It would be better if you can develop a way to configure the rule instead of "hard-coding" it in the module.
Note that the Sale Price can be overridden in Sale Order. If the purpose is to suggest the selling price, I would suggest that maybe sale_margin module (https://www.odoo.com/apps/7.0/sale_margin/) is more approriate.
I have not the solution to your technical question.
But I wil give my opinion on such a rule from the standpoint of business.
Whatever the business, the sale price should be determined in consideration of the competition on the market place; certainly not as a mathematical ruling based from the purchase price.
Such a rule can easily place you outside of the market.
The issue is then to determine the top 10 (or 5) competitors you actually have and from there to know and appreciate their pricing policy in order to decide the level of your own sales prices.
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: 11/13/14, 11:54 AM|
|Seen: 1608 times|
|Last updated: 3/16/15, 8:10 AM|