I did some changes on field behavior of sale order line. I try to modify subtotal by changing its decimal precision into four, how ever the result is still on two decimal precision.
Example output: 1 X 87.5833 the result subtotal is 87.5800
Following is my code chunk:
<record forcecreate="True" id="base_prices" model="decimal.precision">
<field name="name">Base Digits</field>
<field name="digits">4</field>
</record>
class sale_order_line(osv.osv)
...
'price_subtotal' : fields.function(_amount_line, string='Subtotal', digits_compute= dp.get_precision('Base Digits')),
...
Any help is much appreciated.