Public bug reported:
Steps to reproduce:
1. Set product Purchase UOM to different than Default UOM. (e.g. m (150) and m)
2. Create PO using Purchase UOM, quantity 1
3. Send RFQ/Confirm PO/Receive Products
4. Note journal entries - value is 150 x (150 x standard price)
The reason this occurs is because
_get_reference_accounting_values_for_valuation() in purchase/stock.py uses the
qty back from compute_qty (150) and multiplies by the unit_price from the PO -
which is the value of m (150).
_get_reference_accounting_values_for_valuation() should either use the PO line
for quantity or use the correct price.
Note that in stable the issue is somewhat different (it never uses qty)
but I believe that issue was fixed in trunk.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/893833
Title:
[trunk][purchase] Incorrect calculation on accounting moves for
purchases
Status in OpenERP Addons (modules):
New
Bug description:
Steps to reproduce:
1. Set product Purchase UOM to different than Default UOM. (e.g. m (150) and
m)
2. Create PO using Purchase UOM, quantity 1
3. Send RFQ/Confirm PO/Receive Products
4. Note journal entries - value is 150 x (150 x standard price)
The reason this occurs is because
_get_reference_accounting_values_for_valuation() in purchase/stock.py uses the
qty back from compute_qty (150) and multiplies by the unit_price from the PO -
which is the value of m (150).
_get_reference_accounting_values_for_valuation() should either use the PO
line for quantity or use the correct price.
Note that in stable the issue is somewhat different (it never uses
qty) but I believe that issue was fixed in trunk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/893833/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp