diff options
| author | Martin Geubelle <mge@odoo.com> | 2015-07-17 11:59:25 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2015-07-17 11:59:25 +0200 |
| commit | f0f09ec2d778f65e033054d74ee2e7167fd0d80d (patch) | |
| tree | 2d35b64e3c8f89de47bb6856d2042c15d684164b | |
| parent | f6825a76064998ea46019f27043df2612afb25ec (diff) | |
[IMP] product: kanban view of product.template
| -rw-r--r-- | addons/product/product_view.xml | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index ce66e44bb05..b4737ab6b67 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -288,24 +288,20 @@ <field name="product_variant_ids"/> <templates> <t t-name="kanban-box"> - <div class="o_kanban_two_column"> - <a type="open"><img t-att-src="kanban_image('product.template', 'image_small', record.id.value)" class="o_kanban_image"/></a> + <div class="o_kanban_two_column_tags oe_kanban_global_click"> + <div class="o_kanban_image"> + <img t-att-src="kanban_image('product.template', 'image_small', record.id.value)" class="o_kanban_image"/> + </div> <div class="oe_kanban_details"> - <h4> - <a type="open"> - <span t-if="record.default_code.value"> - [<field name="default_code"/>] - </span> - <field name="name"/> - </a> - </h4> - <a name="%(product.product_variant_action)d" type="action"> - <t t-esc="record.product_variant_count.value"/> Variants - </a> - <div name="tags"/> + <strong> + <span t-if="record.default_code.value">[<field name="default_code"/>]</span> + <field name="name"/> + </strong> <ul> + <li><t t-esc="record.product_variant_count.value"/> Variant(s)</li> <li>Price: <field name="lst_price"></field></li> </ul> + <div name="tags"/> </div> </div> </t> |
