← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670905] Re: Stock Partial Move wizard BUG

 

hello jacara,

It has been fixed by Revision ID:
ksa@xxxxxxxxxxxxx-20101110073228-6f2a1xfpiaq3l4r0 in lp:~openerp-dev
/openobject-addons/ksa-addons2

Thanks.


** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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: Fix Committed

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





References