[VIEW] ~tuning master
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Jan 2014 09:26:19 +0000 (10:26 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Jan 2014 09:26:19 +0000 (10:26 +0100)
view/ptitvelo.xml

index 5ebb263..98d752e 100644 (file)
@@ -9,19 +9,19 @@
                 <xpath expr="//field[@name='email']" position="attributes">
                     <attribute name="required">1</attribute>
                 </xpath>
-               <field name="nationality_id" position="replace"/>
-               <field name="zip" position="attributes">
-                 <attribute name="required">1</attribute>
-               </field>
-               <field name="city" position="attributes">
-                 <attribute name="required">1</attribute>
-               </field>
-               <field name="country_id" position="attributes">
-                 <attribute name="required">1</attribute>
-               </field>
-               <field name="street" position="attributes">
-                 <attribute name="required">1</attribute>
-               </field>
+                <field name="nationality_id" position="replace"/>
+                <field name="zip" position="attributes">
+                    <attribute name="required">1</attribute>
+                </field>
+                <field name="city" position="attributes">
+                    <attribute name="required">1</attribute>
+                </field>
+                <field name="country_id" position="attributes">
+                    <attribute name="required">1</attribute>
+                </field>
+                <field name="street" position="attributes">
+                    <attribute name="required">1</attribute>
+                </field>
                 <xpath expr="//notebook[@name='Volunteer activities']" position="before">
                     <group colspan="4">
                         <field name="welcome_email"/>
                 </xpath>
             </field>
         </record>
-       <record model="ir.ui.view" id="view_pos_pos_form">
+        <record model="ir.ui.view" id="view_pos_pos_form">
             <field name="name">pos.order</field>
             <field name="model">pos.order</field>
-           <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
+            <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
             <field name="arch" type="xml">
-               <field name="discount"  position="attributes">
-                 <attribute name="invisible">1</attribute>
-               </field>
-               <field name="price_subtotal" position="replace" />
-           </field>
-       </record>
+                <field name="discount"  position="attributes">
+                    <attribute name="invisible">1</attribute>
+                </field>
+                <field name="price_subtotal" position="replace" />
+            </field>
+        </record>
     </data>
 </openerp>