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.
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
|Asked: 11/13/14, 11:54 AM|
|Seen: 1124 times|
|Last updated: 3/16/15, 8:10 AM|