[IMP] modules kanban view: make icon non-clickable

bzr revid: rco@openerp.com-20120619075657-wahos7ymsnnp3fnr
This commit is contained in:
Raphael Collet
2012-06-19 09:56:57 +02:00
parent 34b298f52d
commit e6164ad8e8
+5 -9
View File
@@ -69,8 +69,7 @@
<field name="model">ir.module.module</field>
<field name="type">kanban</field>
<field name="arch" type="xml">
<kanban create="false">
<kanban create="false">
<field name="icon"/>
<field name="name"/>
<field name="state"/>
@@ -78,22 +77,19 @@
<t t-name="kanban-box">
<div class="oe_module_vignette oe_kanban_auto_height">
<t t-set="installed" t-value="record.state.raw_value == 'installed'"/>
<a type="edit">
<img t-attf-src="#{record.icon.value}" class="oe_module_icon"/>
</a>
<img t-attf-src="#{record.icon.value}" class="oe_module_icon"/>
<div class="oe_module_desc">
<h4><a type="edit"><field name="shortdesc"/></a></h4>
<p class="oe_module_name">
<field name="name"/><br/>
</p>
<button type="object" name="button_immediate_install" states="uninstalled" class="oe_button">Install</button>
<button t-if="installed" class="oe_button" disabled="disabled">Installed</button>
<button type="object" name="button_immediate_install" states="uninstalled">Install</button>
<button t-if="installed" disabled="disabled">Installed</button>
</div>
</div>
</t>
</templates>
</kanban>
</kanban>
</field>
</record>