Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5795 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

Hi,

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

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

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

Ảnh đại diện
Huỷ bỏ

Odoo for engineers:)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 15
4781
5
thg 12 24
33378
0
thg 12 21
2042
1
thg 12 17
2663
0
thg 5 17
3167