跳至內容
選單
此問題已被標幟
2 回覆
1604 瀏覽次數

Hello,

I have a problem when invoice a sale order, the discount is not always correctly displayed. 
It's on Odoo.SH and sometimes he display the discount with a lot of digits behind the comma. 

Anyone has the same problem or has a solution to this?

Mostly after restarting the http worker it's all fine again.



頭像
捨棄
作者

Hi Salih Salih,

The Decimal accuracy is changed to 2 so that's not the problem or solution for this issue.

最佳答案

Hi,

You can update the decimal precision to 2 as below


discount = fields.Float(
        string='Discount (%)',
        digits='Discount',
        default=0.0,
        digits=(12,2)
    )

Regards

頭像
捨棄
最佳答案

Hi Jeroen, 

Activate developer mode and Go to Settings -> Technical -> Decimal Accuracy -> select discount in change decimal accuracy from here by type number of digit you need to see in discount field  

頭像
捨棄
作者

Hi Salih Salih,
The Decimal accuracy is changed to 2 so that's not the problem or solution for this issue.

相關帖文 回覆 瀏覽次數 活動
0
5月 25
841
0
8月 25
383
5
4月 25
6749
0
2月 25
1650
3
10月 24
3914