Skip to Content
Menu
This question has been flagged
2 Replies
4316 Views

Hi all,

We have changed the precision in Currency to 3 decimal places and also at Database Structure >Decimal Accuracy.

The price and invoice total are getting correctly populated with 3 decimal places, but subtotal keeps coming with 2 decimal places. Is there any other setup required for showing subtotal with three decimal places?

Thanks in advance.

Avatar
Discard
Best Answer

price_subtotal = fields.Monetary(compute='_compute_amount', string='Subtotal', digits=dp.get_precision('Product Price'))




(14, 3)












is this working for anyone?


 

Avatar
Discard
Best Answer

Hi Rahul,

Excuse me, I have the same problem. Have you any solution?

Avatar
Discard
Related Posts Replies Views Activity
2
Oct 23
1335
2
Aug 22
1749
1
Sep 21
1789
1
Apr 21
5653
4
Dec 19
4142