From ebb4b3d8f7afe40cdb4965b191391d0839a1f3d0 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Mon, 27 Apr 2009 20:19:26 +0530 Subject: [PATCH] [FIX] Bug 363966 : Added help texts to move lines fields. bzr revid: jvo@tinyerp.com-20090427144926-i91s3juubq818ne3 --- addons/account/account_move_line.py | 5 +++-- addons/account/report/partner_balance.py | 5 ----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index a6b4556a373..902fe5523bb 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -366,8 +366,9 @@ class account_move_line(osv.osv): 'centralisation': fields.selection([('normal','Normal'),('credit','Credit Centralisation'),('debit','Debit Centralisation')], 'Centralisation', size=6), 'balance': fields.function(_balance, method=True, string='Balance'), 'state': fields.selection([('draft','Draft'), ('valid','Valid')], 'Status', readonly=True), - 'tax_code_id': fields.many2one('account.tax.code', 'Tax Account'), - 'tax_amount': fields.float('Tax/Base Amount', digits=(16,2), select=True), + 'tax_code_id': fields.many2one('account.tax.code', 'Tax Account', help="The Account can either be a base tax code or tax code account."), + 'tax_amount': fields.float('Tax/Base Amount', digits=(16,2), select=True, help="If the Tax account is tax code account, this field will contain the taxed amount.If the tax account is base tax code,\ + this field will contain the basic amount(without tax)."), 'invoice': fields.function(_invoice, method=True, string='Invoice', type='many2one', relation='account.invoice', fnct_search=_invoice_search), 'account_tax_id':fields.many2one('account.tax', 'Tax'), diff --git a/addons/account/report/partner_balance.py b/addons/account/report/partner_balance.py index 6c1eb0f7534..451ad7bf744 100755 --- a/addons/account/report/partner_balance.py +++ b/addons/account/report/partner_balance.py @@ -64,15 +64,10 @@ class partner_balance(report_sxw.rml_parse): full_str_date.append(str(date)) return full_str_date - # - - def transform_period_into_date_array(self,data): ## Get All Period Date # # If we have no period we will take all perdio in the FiscalYear. - - if not data['form']['periods'][0][2] : periods_id = self.pool.get('account.period').search(self.cr, self.uid, [('fiscalyear_id','=',data['form']['fiscalyear'])]) else: