← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 610738] Re: [5.0] return products to supplier does not update price average

 

Sorry Nicolas, I'm not agree to down the priority for this bug.

But I need to show you an scenary, imagine you loss the half of all data
around 100.000 transactions? in a way without logical, and if you try to
recover a backup (even having planified all SDRP posible in market) you
can not recover it? what would be the dimension of the problem?

Well. With Average price BAD calculated it is what is happening, almost
half of all acounting moves posted around cost in an standard
implementation on V5 will explote at the end of the year when all
partners or consultant will have to give some answer to customers....
around .... What Happend that the stock is WRONG???, we audit the
accounting every month and we detected this issue 6 month ago, we have
reported at least 5 bugs related, and NOW IMHO this is CRITIC, because
the error is _hidden_ and will show up so late....

We are developing a module to trace all the cost movements to back, but
for example ferdinand@chricar has a merge proposal from 5 month ago
related too this issue, an nothing happend, please folks, I know this
issues are dificult to detect but when this is detected, You need give
priority.....

Now.... Do you think this is critic or not?

-- 
[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.