How to create a new decimal accuracy for subtotal in sale order odoo 9
The solution is to modify the type of fields from Monetary to Float :
 price_subtotal = fields.Float(compute='_compute_amount', string='Subtotal', digits=dp.get_precision('Account'))
I'm using odoo 9 and i have created in Settings -> Technical -> Database Structure -> Decimal Accuracy-> Account with digits 3 for subtotal rounding. Then i have added in sale.py price_subtotal = fields.Monetary(compute='_compute_amount', string='Subtotal', digits=dp.get_precision('Account'))
. After that i updated the two modules sale and decimal_precision. But when i create a new saleorder there is no change in the subtotal rounding it display 2 digits instead of 3. Any help please i'm stuck with this problem for days now