Too much arguments to 'sale.order.write'

bzr revid: olt@tinyerp.com-20081216162357-zylisiph3c21blfv
This commit is contained in:
Olivier Laurent 2008-12-16 17:23:57 +01:00
parent 70b2857213
commit 2b2c7e256b
1 changed files with 1 additions and 1 deletions

View File

@ -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: