Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
8911 Представления

Hello all,

Where can I find documentation and examples about this kind of line?

I would need to understand the priority of the operators (in, and, or) in the t-value expression. With examples if possible.

I don't understand very well how the variable takes his value from such an expression.

The line :

<t t-set="seo_name" t-value="main_object and 'website_meta_title' in main_object and main_object.website_meta_title or main_object.name" />


Thanks to help


Аватар
Отменить
Лучший ответ

Have you seen https://www.odoo.com/documentation/10.0/reference/reports.html ?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
апр. 24
3203
8
дек. 23
124907
1
июл. 25
1732
1
мая 25
1740
1
апр. 25
2300