[IMP] account, pos: added tooltip to field 'balance_end_real' & made other little...
authorAjay Chauhan (OpenERP) <cha@tinyerp.com>
Fri, 15 Mar 2013 10:08:04 +0000 (15:38 +0530)
committerAjay Chauhan (OpenERP) <cha@tinyerp.com>
Fri, 15 Mar 2013 10:08:04 +0000 (15:38 +0530)
bzr revid: cha@tinyerp.com-20130315100804-9jzt9fgz430gwof9

addons/account/account_bank_statement.py
addons/account/account_cash_statement.py
addons/point_of_sale/point_of_sale.py

index 7a620c5..4968fa9 100644 (file)
@@ -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),
index 93deb96..c3d2748 100644 (file)
@@ -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 = {
index a7df9a6..8627ff4 100644 (file)
@@ -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',