Stock Partial Move wizard BUG

Bug #670905 reported by Jacara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 2

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

Revision history for this message
qdp (OpenERP) (qdp) wrote :

Seems a very good point! Thanks for the contribution,

Quentin

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
milestone: none → 6.0-rc2
status: New → Confirmed
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

hello jacara,

It has been fixed by Revision ID: <email address hidden> in lp:~openerp-dev/openobject-addons/ksa-addons2

Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.