How can i access env or any odoo instance from an odoo qweb templates? Here I am doing operations on the template where UserMenu and here is that possible to check using t-if with and odoo instance or env?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
3
Ответы
5649
Представления
Use js directly or update variables through js I think Usermenu.js in web addon
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
0
апр. 20
|
3635 | ||
|
|
3
авг. 18
|
11436 | ||
|
|
0
мар. 15
|
4396 | ||
|
|
5
нояб. 24
|
48640 | ||
|
|
0
апр. 25
|
2232 |
Try with parser
Wrong , qweb templates has no parser, you may think qweb reports