Too much arguments to 'sale.order.write'
bzr revid: olt@tinyerp.com-20081216162357-zylisiph3c21blfv
This commit is contained in:
parent
70b2857213
commit
2b2c7e256b
|
@ -39,7 +39,7 @@ class pos_invoice(report_sxw.rml_parse):
|
|||
nids = []
|
||||
|
||||
for order in objects:
|
||||
order.write(self.cr, self.uid, [order.id], {'nb_print': order.nb_print + 1})
|
||||
order.write({'nb_print': order.nb_print + 1})
|
||||
|
||||
if order.invoice_id and order.invoice_id not in iids:
|
||||
if not order.invoice_id:
|
||||
|
|
Loading…
Reference in New Issue