summaryrefslogtreecommitdiff
path: root/addons/base_sparse_field/models/fields.py
AgeCommit message (Collapse)Author
2017-05-18[FIX] Always round monetary values in database (#17010)Raphael Collet
Let `create` and `write` round monetary field values before sending them to the database. Pass the values to be written to `field.convert_to_column`, so that the currency can be retrieved from the values, and the value be rounded.
2017-01-19[REF] move support for sparse fields into a separate module (#15070)Raphael Collet
This removal has led to a necessary refactoring: - make the setup of field attributes extensible; - make the instantiation of custom fields extensible; - delegate model and field reflection to `ir.model` and `ir.model.fields`; - move the implementation of sparse and serialized fields to module `base_sparse_field`;