diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-05-29 13:52:01 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-05-29 13:52:01 +0200 |
| commit | 49d04e63c9af67f46ab2a9dc3c89d6b1d22bb0e0 (patch) | |
| tree | bfc9c8aceb15c0a65194197654264ef2575152ad | |
| parent | b577f81cc1583053277e73814a3fdb64180e858e (diff) | |
| parent | a7102afe98b1d2202a7c69565520db963aebc77f (diff) | |
[MERGE] changes from Antony
bzr revid: abo@openerp.com-20120529115201-s1jba0s1oqthdi9k
| -rw-r--r-- | addons/portal_sale/portal_sale_view.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/addons/portal_sale/portal_sale_view.xml b/addons/portal_sale/portal_sale_view.xml index 8a70bb1c7f3..4ef4657fd8c 100644 --- a/addons/portal_sale/portal_sale_view.xml +++ b/addons/portal_sale/portal_sale_view.xml @@ -2,6 +2,37 @@ <openerp> <data> + <record id="product_kanban_view" model="ir.ui.view"> + <field name="name">Product Kanban</field> + <field name="model">product.product</field> + <field name="type">kanban</field> + <field name="arch" type="xml"> + <kanban> + <field name="color"/> + <field name="type"/> + <field name="product_image"/> + <field name="list_price"/> + <templates> + <t t-name="kanban-box"> + <div class="oe_product_vignette"> + <div class="oe_product_img"> + <a type="edit"><img t-att-src="kanban_image('product.product', 'product_image', record.id.value)" class="oe_product_photo"/></a> + </div> + <div class="oe_product_desc"> + <h4><a type="edit"><field name="name"></field></a></h4> + <ul> + <li t-if="record.type.raw_value != 'service'">Stock on hand: <field name="qty_available"/> <field name="uom_id"/></li> + <li t-if="record.type.raw_value != 'service'">Stock available: <field name="virtual_available"/> <field name="uom_id"/></li> + <li>Price: <field name="lst_price"></field></li> + </ul> + </div> + </div> + </t> + </templates> + </kanban> + </field> + </record> + <record id="action_picking_tree" model="ir.actions.act_window"> <field name="name">Delivery Orders</field> <field name="res_model">stock.picking</field> |
