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?
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
5
नव॰ 16
|
11803 | ||
|
|
3
मार्च 15
|
9064 | ||
|
Line Spacing in Odoo 17
Solved
|
|
3
सित॰ 25
|
3259 | |
|
|
1
नव॰ 22
|
8385 | ||
|
|
1
मार्च 15
|
5236 |