Skip to content
Snippets Groups Projects
Commit 0fe2b453 authored by Naglis Jonaitis's avatar Naglis Jonaitis Committed by Martin Trigaux
Browse files

[IMP] *: remove `digits` attribute from Monetary fields


* account, hr_contract, hr_expense, point_of_sale, sale_margin,
website_sale_delivery, website_sale_wishlist

digits only works on Float fields, on Monetary fields it has no
effect:

- The column_type of a monetary field is always numeric
- It is not applied in `convert_to_column()` or `convert_to_cache()`
- It is not part of `description_attrs`, so it will not be included in
the output of `fields_get()`

closes odoo/odoo#35336

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 914a722f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment