diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-02 18:09:51 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-02 18:09:51 +0200 |
| commit | a9e48f157112fd1c4acf0dbf1f4d1ecd26f97e13 (patch) | |
| tree | 4966713fac2b0383b65f84f6ffaad98668d8f94d /addons/web/static/src/xml | |
| parent | 38f0c5bda7405429244eabbc7fc2635b7bef1615 (diff) | |
[FIX] hide the "or Import" in many list views
bzr revid: nicolas.vanhoren@openerp.com-20120702160951-czrvcybdrrjqj84y
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index e38260d3e75..29a7a61aa30 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -619,7 +619,9 @@ <button type="button" class="oe_button oe_list_add oe_highlight"> <t t-esc="widget.options.addable"/> </button> - <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a> + <t t-if="widget.options.import_enabled"> + <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a> + </t> </t> </div> <t t-name="ListView.pager"> |
