Files
odoo_source/odoo
MAHAMADASIF ANSARI e246bf1448 [IMP] base: allow to specify decimal points with format_decimalized_number
Currently, we can format the number into decimal points with help of
the `format_decimalized_number` option of `ir.qweb.field.integer`
class. However, sometimes we need to decide how many decimal points
we need to display, which is not possible with current implementation.

This commit improves the above option and now allows to pass the number
of decimal points, with a new option `precision_digits`, which defaults
to one decimal point.

task-2792149

Part-of: odoo/odoo#87996
2022-05-04 17:46:12 +02:00
..
2022-03-14 08:43:07 +00:00
…
2022-04-27 07:51:24 +02:00