Merge lp:~openerp-dev/openobject-addons/trunk-bug-1168349-tta into lp:openobject-addons

Proposed by SnippetBucket.com
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1168349-tta
Merge into: lp:openobject-addons
Diff against target: 13 lines (+2/-1)
1 file modified
stock/stock.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1168349-tta
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+160008@code.launchpad.net

Description of the change

Hello,

Fixed Bug: 1168349

 * Fixed: Orders stays in waiting raw materials state though we have raw materials available

 * Reported Bug: https://bugs.launchpad.net/openobject-addons/+bug/1168349

Thanks,
tta

To post a comment you must log in.

Unmerged revisions

8687. By SnippetBucket.com

[FIX] Bug:1168349/Manufacturing order stays in waiting raw materials state though we have raw materials available.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'stock/stock.py'
--- stock/stock.py 2013-04-15 10:23:49 +0000
+++ stock/stock.py 2013-04-22 05:42:26 +0000
@@ -397,7 +397,8 @@
397 uom_rounding = self.pool.get('product.product').browse(cr, uid, product_id, context=context).uom_id.rounding397 uom_rounding = self.pool.get('product.product').browse(cr, uid, product_id, context=context).uom_id.rounding
398 if context.get('uom'):398 if context.get('uom'):
399 uom_rounding = uom_obj.browse(cr, uid, context.get('uom'), context=context).rounding399 uom_rounding = uom_obj.browse(cr, uid, context.get('uom'), context=context).rounding
400 for id in self.search(cr, uid, [('location_id', 'child_of', ids)]):400 location_ids = self.search(cr, uid, [('location_id', 'child_of', ids)]) or ids
401 for id in location_ids:
401 if lock:402 if lock:
402 try:403 try:
403 # Must lock with a separate select query because FOR UPDATE can't be used with404 # Must lock with a separate select query because FOR UPDATE can't be used with

Subscribers

People subscribed via source and target branches

to all changes: