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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
How to get company name in qweb report?
Rozwiązane
|
|
1
kwi 22
|
22362 | |
How to make space in qweb report?
Rozwiązane
|
|
8
mar 21
|
30459 | |
How to call css style in qweb report?
Rozwiązane
|
|
2
lut 21
|
10968 | |
|
4
maj 16
|
7586 | ||
|
0
mar 15
|
3132 |