From 382ffceb34dd26c7f0bee84bda55b71f0b3a6aea Mon Sep 17 00:00:00 2001 From: "Bharat (OpenERP)" Date: Tue, 13 Sep 2011 16:16:53 +0530 Subject: [PATCH] [IMP] account : improved the indentation and removed unnecessary code bzr revid: bde@tinyerp.com-20110913104653-z44g6r4zse3v4ibq --- addons/account/invoice.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index aa0945427cf..57fcb998df7 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1,4 +1,4 @@ - # -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution @@ -1242,9 +1242,8 @@ class account_invoice(osv.osv): account_invoice() class account_invoice_line(osv.osv): - def _amount_line(self, cr, uid, ids, prop, unknow_none, unknow_dict): - account_inv_obj = self.pool.get('account.invoice').browse(cr, uid, ids)[0] + def _amount_line(self, cr, uid, ids, prop, unknow_none, unknow_dict): res = {} tax_obj = self.pool.get('account.tax') cur_obj = self.pool.get('res.currency')