| Age | Commit message (Collapse) | Author |
|
The decimal precision feature makes sense to be an ORM feature, no need to be
in a specific module
Previous syntax was
from odoo.addons import decimal_precision as dp
fields.Float(digits=dp.get_precision('Foo'))
and now is:
fields.Float(digits='Foo')
Remove the possibility to have a callable method on the digits attribute (it
was only used for precision anyway) and directly retrieve the digits on the
decimal.precision model
Rename the method digits to get_digits to avoid confusion between the field
attribute when declaring a field and the method to retrieve the precision
Task id: 48198
|
|
bzr revid: chm@openerp.com-20140113082341-u13c2oc3c0xev8ar
|
|
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
|
|
bzr revid: fp@tinyerp.com-20101016164709-8w551aaosqx0dufu
|
|
bzr revid: fp@tinyerp.com-20100306200216-d9fg7r9doibyzjfr
|