From 2b2c7e256b4b6c6d77333ae833838bc6aa4609f7 Mon Sep 17 00:00:00 2001 From: Olivier Laurent Date: Tue, 16 Dec 2008 17:23:57 +0100 Subject: [PATCH] Too much arguments to 'sale.order.write' bzr revid: olt@tinyerp.com-20081216162357-zylisiph3c21blfv --- addons/point_of_sale/report/pos_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/report/pos_invoice.py b/addons/point_of_sale/report/pos_invoice.py index e7c39ba9ef0..6c9dc757545 100644 --- a/addons/point_of_sale/report/pos_invoice.py +++ b/addons/point_of_sale/report/pos_invoice.py @@ -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: