[FIX] Account: payment term line need at least 5 to 6 digits precision

lp bug: https://launchpad.net/bugs/740596 fixed

bzr revid: ara@tinyerp.com-20110325094939-k30q24tu5okj7mcm
This commit is contained in:
ARA (OpenERP) 2011-03-25 15:19:39 +05:30
parent dea0358cee
commit 82565f571b
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class account_payment_term_line(osv.osv):
('fixed', 'Fixed Amount')], 'Valuation',
required=True, help="""Select here the kind of valuation related to this payment term line. Note that you should have your last line with the type 'Balance' to ensure that the whole amount will be threated."""),
'value_amount': fields.float('Value Amount', help="For Value percent enter % ratio between 0-1."),
'value_amount': fields.float('Value Amount', digits=(16, 6), 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)."),