[FIX] added tooltip on tax and payment term
authorHDA (OpenERP) <hda@tinyerp.com>
Tue, 1 Sep 2009 08:58:30 +0000 (14:28 +0530)
committerHDA (OpenERP) <hda@tinyerp.com>
Tue, 1 Sep 2009 08:58:30 +0000 (14:28 +0530)
lp bug: https://launchpad.net/bugs/421636 fixed

bzr revid: hda@tinyerp.com-20090901085830-kpksxt0cabn4iywt

addons/account/account.py

index dad8832..b4a1468 100644 (file)
@@ -77,7 +77,7 @@ class account_payment_term_line(osv.osv):
         'name': fields.char('Line Name', size=32, required=True),
         'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the payment term lines from the lowest sequences to the higher ones"),
         'value': fields.selection([('procent', 'Percent'), ('balance', 'Balance'), ('fixed', 'Fixed Amount')], 'Value',required=True),
-        'value_amount': fields.float('Value Amount'),
+        'value_amount': fields.float('Value Amount', help="For Value percent enter % ratio between 0-1."),
         'days': fields.integer('Number of Days', required=True, help="Number of days to add before computation of the day of month." \
             "If Date=15/01, Number of Days=22, Day of Month=-1, then the due date is 28/02."),
         'days2': fields.integer('Day of the Month', required=True, help="Day of the month, set -1 for the last day of the current month. If it's positive, it gives the day of the next month. Set 0 for net days (otherwise it's based on the beginning of the month)."),
@@ -1206,7 +1206,7 @@ class account_tax(osv.osv):
     _columns = {
         'name': fields.char('Tax Name', size=64, required=True, translate=True, help="This name will be displayed on reports"),
         'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the tax lines from the lowest sequences to the higher ones. The order is important if you have a tax with several tax children. In this case, the evaluation order is important."),
-        'amount': fields.float('Amount', required=True, digits=(14,4)),
+        'amount': fields.float('Amount', required=True, digits=(14,4), help="For Tax Type percent enter % ratio between 0-1."),
         'active': fields.boolean('Active'),
         'type': fields.selection( [('percent','Percent'), ('fixed','Fixed'), ('none','None'), ('code','Python Code'),('balance','Balance')], 'Tax Type', required=True,
             help="The computation method for the tax amount."),