*bugfixed on sale_order: invoice_id replaced by invoice_ids
bzr revid: qdp-8f7678b023e62bde5f62c9ac3ed66061d16c014c
This commit is contained in:
parent
c77fae484f
commit
e37b79c987
|
@ -325,7 +325,7 @@ class sale_order(osv.osv):
|
|||
else:
|
||||
invoiced=True
|
||||
self.pool.get('sale.order.line').write(cr, uid, [line.id], {'invoiced': invoiced})
|
||||
self.write(cr, uid, ids, {'state':'invoice_except', 'invoice_id':False})
|
||||
self.write(cr, uid, ids, {'state':'invoice_except', 'invoice_ids':False})
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue