~koi-basic-modules-maintainer/koi-oe-basic-package/7.0

« back to all changes in this revision

Viewing changes to koi_product_manager/view/view_Product.xml

  • Committer: Andhitia Rama
  • Date: 2015-08-21 12:29:13 UTC
  • Revision ID: andhitia.r@gmail.com-20150821122913-gg5i6x7turt1y1k1
Perubahan kosmetik pd kanban product

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        <record id="tree_base_product" model="ir.ui.view">
30
30
            <field name="name">Tree - Product</field>
31
31
            <field name="model">product.product</field>
32
 
            <field eval="7" name="priority"/>
 
32
            <field eval="1" name="priority"/>
33
33
            <field name="arch" type="xml">
34
34
                <tree colors="red:virtual_available&lt;0;blue:virtual_available&gt;=0 and state in ('draft', 'end', 'obsolete');black:virtual_available&gt;=0 and state not in ('draft', 'end', 'obsolete')" string="Products">
35
35
                    <field name="default_code"/>
53
53
        <record id="form_base_product" model="ir.ui.view">
54
54
            <field name="name">Form - Product</field>
55
55
            <field name="model">product.product</field>
56
 
            <field eval="7" name="priority"/>
 
56
            <field eval="1" name="priority"/>
57
57
            <field name="arch" type="xml">
58
58
                <form string="Product" version="7.0">
59
59
                    <header>
201
201
                    <field name="color"/>
202
202
                    <field name="type"/>
203
203
                    <field name="list_price"/>
 
204
                    <field name="sale_ok"/>
 
205
                    <field name="uom_id"/>
204
206
                    <templates>
205
207
                        <t t-name="kanban-box">
206
208
                            <div class="oe_kanban_vignette oe_semantic_html_override">
213
215
                                    </h4>
214
216
                                    <div name="tags"/>
215
217
                                    <ul>
216
 
                                        <li>Price: <field name="lst_price"></field></li>
 
218
                                        <t t-if="record.sale_ok.raw_value === true">
 
219
                                            <li>Price : <field name="lst_price"></field></li>
 
220
                                        </t>
 
221
                                        <t t-if="record.sale_ok.raw_value === false">
 
222
                                            <li>Can't be sold</li>
 
223
                                        </t>
 
224
                                        <li>UoM : <field name="uom_id"/></li>
217
225
                                    </ul>
218
226
                                </div>
219
227
                            </div>