-
- Downloads
[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:
Martin Trigaux (mat) <mat@odoo.com>
Showing
- addons/account/models/account_bank_statement.py 1 addition, 1 deletionaddons/account/models/account_bank_statement.py
- addons/hr_contract/models/hr_contract.py 1 addition, 1 deletionaddons/hr_contract/models/hr_contract.py
- addons/hr_expense/models/hr_expense.py 3 additions, 3 deletionsaddons/hr_expense/models/hr_expense.py
- addons/point_of_sale/models/pos_session.py 0 additions, 1 deletionaddons/point_of_sale/models/pos_session.py
- addons/sale_margin/models/sale_order.py 1 addition, 1 deletionaddons/sale_margin/models/sale_order.py
- addons/website_sale_delivery/models/sale_order.py 1 addition, 1 deletionaddons/website_sale_delivery/models/sale_order.py
- addons/website_sale_wishlist/models/product_wishlist.py 1 addition, 1 deletionaddons/website_sale_wishlist/models/product_wishlist.py
Loading
Please register or sign in to comment