openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #04623
[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-740596-ara into lp:openobject-addons
Ashvin Rathod (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-740596-ara into lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #740596 in OpenERP Addons: "[6.0.1][account] payment term line need at least 5 to 6 digits precision"
https://bugs.launchpad.net/openobject-addons/+bug/740596
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-740596-ara/+merge/54830
Hello,
FIX: #740596 payment term line need at least 5 to 6 digits precision
Thanks,
ara
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-740596-ara/+merge/54830
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-740596-ara.
=== modified file 'account/account.py'
--- account/account.py 2011-03-17 17:33:16 +0000
+++ account/account.py 2011-03-25 09:55:55 +0000
@@ -102,7 +102,7 @@
('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)."),
Follow ups