In fact only hide the discount field since it is used in the form.
[burette/ptitvelo.git] / view / ptitvelo.xml
index a5be3e5..5ebb263 100644 (file)
@@ -51,7 +51,9 @@
             <field name="model">pos.order</field>
            <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
             <field name="arch" type="xml">
-               <field name="discount"  position="replace" />
+               <field name="discount"  position="attributes">
+                 <attribute name="invisible">1</attribute>
+               </field>
                <field name="price_subtotal" position="replace" />
            </field>
        </record>