콘텐츠로 건너뛰기
메뉴
신고된 질문입니다

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
908
0
8월 25
444
5
4월 25
6877
0
2월 25
1741
3
10월 24
3979