please I would like to help me in this issue urgent please ,
How to define globle variable in Qweb report because when i access any variabl I defined it out loop i didn't get any change when i print this variabl out loop
thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
please I would like to help me in this issue urgent please ,
How to define globle variable in Qweb report because when i access any variabl I defined it out loop i didn't get any change when i print this variabl out loop
thanks
You could use t-set attribute
<t t-set= "user_name" t-value="user.name" > </t>
<p> Hello, <t t-esc = "user_name"/> </p>
Refer Odoo 8 documentation for Q-web template: https://www.odoo.com/documentation/8.0/reference/qweb.html#setting-variables
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
अप्रैल 22
|
22504 | ||
|
8
मार्च 21
|
30640 | ||
|
2
फ़र॰ 21
|
11109 | ||
|
4
मई 16
|
7694 | ||
|
0
मार्च 15
|
3255 |