From 9bcf832d71b03c85fe08376e107969ab2a6dd4ea Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 15 Mar 2013 15:38:04 +0530 Subject: [PATCH] [IMP] account, pos: added tooltip to field 'balance_end_real' & made other little change bzr revid: cha@tinyerp.com-20130315100804-9jzt9fgz430gwof9 --- addons/account/account_bank_statement.py | 2 +- addons/account/account_cash_statement.py | 2 +- addons/point_of_sale/point_of_sale.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index 7a620c5065e..4968fa939c7 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -106,7 +106,7 @@ class account_bank_statement(osv.osv): 'balance_start': fields.float('Starting Balance', digits_compute=dp.get_precision('Account'), states={'confirm':[('readonly',True)]}), 'balance_end_real': fields.float('Ending Balance', digits_compute=dp.get_precision('Account'), - states={'confirm': [('readonly', True)]}), + states={'confirm': [('readonly', True)]}, help="Computed using the cash control lines"), 'balance_end': fields.function(_end_balance, store = { 'account.bank.statement': (lambda self, cr, uid, ids, c={}: ids, ['line_ids','move_line_ids','balance_start'], 10), diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index 93deb96c7c4..c3d2748f1a3 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -179,7 +179,7 @@ class account_cash_statement(osv.osv): 'opening_details_ids' : fields.one2many('account.cashbox.line', 'bank_statement_id', string='Opening Cashbox Lines'), 'closing_details_ids' : fields.one2many('account.cashbox.line', 'bank_statement_id', string='Closing Cashbox Lines'), 'user_id': fields.many2one('res.users', 'Responsible', required=False), - 'difference' : fields.function(_compute_difference, method=True, string="Difference", type="float", help="Difference between the counted cash control at the closing and the ending balance."), + 'difference' : fields.function(_compute_difference, method=True, string="Difference", type="float", help="Difference between the counted cash control at the closing and the closing balance."), 'last_closing_balance' : fields.function(_compute_last_closing_balance, method=True, string='Last Closing Balance', type='float'), } _defaults = { diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index a7df9a60173..8627ff4bb99 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -242,7 +242,7 @@ class pos_session(osv.osv): 'cash_register_difference' : fields.related('cash_register_id', 'difference', type='float', string='Difference', - help="Difference between the counted cash control at the closing and the ending balance.", + help="Difference between the counted cash control at the closing and the closing balance.", readonly=True), 'journal_ids' : fields.related('config_id', 'journal_ids',