Hi,
I create a report based a sql query. i want display all number in format : three digits after comma.
For example :
result of sql query salary=500.3
i want display in report PDF : 500.300
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I create a report based a sql query. i want display all number in format : three digits after comma.
For example :
result of sql query salary=500.3
i want display in report PDF : 500.300
Thanks.
Hi,
You can use: [[ '%0.4f' % result ]]
Thankyou very match. works now . Any doc about this formatting?
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
5
thg 11 16
|
11337 | ||
|
3
thg 3 15
|
8649 | ||
Line Spacing in Odoo 17
Đã xử lý
|
|
2
thg 12 24
|
2477 | |
|
1
thg 11 22
|
6505 | ||
|
1
thg 3 15
|
4761 |