Odoo Help


How works Qweb attribute t-ignore?

on 2/23/15, 6:38 AM 2,484 views

Can someone tell me how it works? I have not found the description in the documentation.


<link rel='stylesheet' href='/website/static/src/css/bootswatch/amelia.min.css' t-ignore="true"/>

<t t-ignore="true">

<div class="pull-right" t-ignore="true" t-if="not editable">



No one knows?

on 2/24/15, 6:41 AM

The "t-ignore" attribute keeps the elements from inheriting the "branding" of the parent when you enable inherited branding. Branding being the "data-oe-*" and "t-*" attributes. Seems to be used in keeping track of where tags get moved to. See example of usage in report/models/report.py See also ir_qweb.py, and ir_ui_view.py See addons/base/tests/test_views.py, Hope that helps.

on 2/24/15, 11:23 PM

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

1 follower(s)


Asked: 2/23/15, 6:38 AM
Seen: 2484 times
Last updated: 3/16/15, 8:10 AM