← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670905] [NEW] Stock Partial Move wizard BUG

 

Public bug reported:


addons/purchase/stock.py line 126 on default_get() method

The code does not check move states.
There must be like this :

for m in pick.move_lines:
+    if m.state in ('done','cancel') :
+        continue
      if has_product_cost and m.product_id.cost_method == 'average' and m.purchase_line_id:

Please Check This. Thank you

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
Stock Partial Move wizard BUG
https://bugs.launchpad.net/bugs/670905
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:


addons/purchase/stock.py line 126 on default_get() method

The code does not check move states.
There must be like this :

for m in pick.move_lines:
+    if m.state in ('done','cancel') :
+        continue
      if has_product_cost and m.product_id.cost_method == 'average' and m.purchase_line_id:

Please Check This. Thank you





Follow ups

References