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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
How to get company name in qweb report?
Ratkaistu
|
1
huhtik. 22
|
23383 | ||
|
How to make space in qweb report?
Ratkaistu
|
8
maalisk. 21
|
31443 | ||
|
How to call css style in qweb report?
Ratkaistu
|
2
helmik. 21
|
11811 | ||
|
4
toukok. 16
|
8387 | |||
|
0
maalisk. 15
|
4045 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.