[IMP] account : improved the indentation and removed unnecessary code

bzr revid: bde@tinyerp.com-20110913104653-z44g6r4zse3v4ibq
This commit is contained in:
Bharat (OpenERP) 2011-09-13 16:16:53 +05:30
parent 2e99235715
commit 382ffceb34
1 changed files with 2 additions and 3 deletions

View File

@ -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')