c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00853
[Bug 610738] Re: [5.0] return products to supplier does not update price average
Hi again,
Well, I reset the priority to High and status Confirmed. Sorry if it make some troubles, but I wanted the OpenERP Team to pay attention to the following.
We in the community (or at least those who post on this bug) want to
have a solution for this problematics. I understand your point Fabien
that we cannot include everything "out of the box" and the philosophy of
OpenERP is to keep things simple : We all follow you on that point.
Unfortunately, stock is not that simple... I suggest the following at
least :
- Add a field and record the purchased cost in the stock move in the
core of OpenERP
This way a lot of people (including Ferdinand, Me and Nhomar) will
already be happy to have the possibility to improve that in modules.
My opinion (as well as Nhomar and Ferdinand) will be that we really need
to include that in the core. If I had the choice, I would vote for
that... This, in my own opinion, is a must have in stock accounting.
Thanks to take our remarks in your future though,
Best regards,
Joël
--
[5.0] return products to supplier does not update price average
https://bugs.launchpad.net/bugs/610738
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: Confirmed
Bug description:
When returning products to a supplier, the average standard price should be updated using the price of the packing list which is returned.
For example :
1- We have 10 products with average price = 100
2- We receive 5 products with price = 80 --> average price is calculated as (10*100+5*80)/(10+5) = 93,33
3- We return 3 products from the last packing list (the one where products cost 80)
The new average price should be
(93,33*15 - 3*80)/(15-3)=96,67
If the return is made directly from the stock and does not concern any incoming packing list, we do not update the average price.