How to change the number of decimal places in Odoo
In Odoo there is an option to change the number of decimal places for already defined decimal.precision objects: “Product Price“, “Discount“, “Stock Weight“, “Payment Terms“, “Product Unit of Measure“, “Payroll” and “Payroll Rate“.
You can do that by going to Settings >> Technical >> Database Structure >> Decimal Accuracy, choosing one of the defined objects and updating the field “Digits“.
Also, you can create a new decimal.precision object. In such a case you need to update the backend code with it.