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

By default the display is set to "1,000" for a quantity.

I want to change it to "1" because I think it's more pretty.

How can i do it?

頭像
捨棄

Please Do not use TAGS which is having no Meaning and DO not create meaningless TAGs. Here what is ooo?

Please do not dig up a 2-years old topic to say this

最佳答案

Hi,

remove the decimal precision from rml (digits=get_digits(dp='UoS'))

if it not works just convert integer like [[  int(o.quantity) ]]

頭像
捨棄
作者 最佳答案

Thanks. But where can you find rml (digits=get_digits(dp='UoS')) ?

Or [[  int(o.quantity) ]] ?

頭像
捨棄

Odoo for engineers:)

相關帖文 回覆 瀏覽次數 活動
1
4月 15
4781
5
12月 24
33376
0
12月 21
2041
1
12月 17
2659
0
5月 17
3167