← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670905] Re: Stock Partial Move wizard BUG

 

Seems a very good point! Thanks for the contribution,

Quentin

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
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: Confirmed

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