From 20996ec0cb286298cf34e1a1f718c08c09579e68 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 30 Apr 2010 17:31:26 +0530 Subject: [PATCH] [FIX] Account : Correction on ODO's commit bzr revid: jvo@tinyerp.com-20100430120126-zs8kf4g1fip1e84t --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 48a5bc1..14cd952 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -827,7 +827,7 @@ class account_invoice(osv.osv): raise osv.except_osv(_('UserError'), _('Cannot create invoice move on centralised journal')) - line = self.finalize_invoice_move_lines(self, cr, uid, inv, line) + line = self.finalize_invoice_move_lines(cr, uid, inv, line) move = {'ref': inv.number, 'line_id': line, 'journal_id': journal_id, 'date': date} period_id=inv.period_id and inv.period_id.id or False -- 1.7.10.4