Odoo Help


How to use qweb directives in form or tree view (Odoo)

Adnier Rosello
on 10/5/15, 4:34 PM 2,265 views

how I can be used (if possible) the Qweb directives (t-if, t-foreach, etc.) such as are applied in the reports or kanban views with the <templates> tag, but in a form or tree view.



Axel Mendoza

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
On 10/5/15, 5:57 PM

There is no way to do it in the simply form or tree views, to do it you need to define a new widget with their respective template and you could associate to a client action tag, it's more tricky and need more work than usual. It means that you will end doing everything in the js, get data, bind events, I mean everything

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/5/15, 4:34 PM
Seen: 2265 times
Last updated: 10/6/15, 7:45 AM