diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2019-11-02 11:13:56 +0000 |
|---|---|---|
| committer | Adrian Torres <adt@odoo.com> | 2019-11-08 08:16:27 +0000 |
| commit | a67d6eff4543e015b0cc99637a7281eeb5d5cd46 (patch) | |
| tree | e1d4c7db9719474e21651e41769b7d5de1df8f60 /addons | |
| parent | 6fae598d2cf32d3ca5119d86f72a96a618e71de5 (diff) | |
[IMP] core: add float_utils shortcuts to fields.Float
With this commit, the functions float_compare, float_round and
float_is_zero are available from the fields.Float class as static
methods.
This allows the usage of these helper methods without the need to import
them from odoo.tools.
closes odoo/odoo#39695
Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
