[FIX] bug
lp bug: https://launchpad.net/bugs/907211 fixed bzr revid: fp@tinyerp.com-20111228222135-mrq22s3yj8oyvz3j
This commit is contained in:
@@ -135,7 +135,7 @@ class stock_picking(osv.osv):
|
||||
|
||||
for picking in picking_obj.browse(cursor, user, picking_ids,
|
||||
context=context):
|
||||
if not picking.sale_id:
|
||||
if not picking.sale_id or picking.backorder_id:
|
||||
continue
|
||||
sale_lines = picking.sale_id.order_line
|
||||
invoice_created = invoices[result[picking.id]]
|
||||
@@ -195,4 +195,4 @@ class stock_picking(osv.osv):
|
||||
})
|
||||
return result
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
Reference in New Issue
Block a user