Removed the nationality field and made the address mandatory in member form. Removed...
authorSébastien Grignard <seb@amakaze.org>
Tue, 14 Jan 2014 22:50:24 +0000 (23:50 +0100)
committerSébastien Grignard <seb@amakaze.org>
Tue, 14 Jan 2014 22:50:24 +0000 (23:50 +0100)
view/ptitvelo.xml

index 19fb9cc..a5be3e5 100644 (file)
@@ -9,6 +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>
                 <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">
+            <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="arch" type="xml">
+               <field name="discount"  position="replace" />
+               <field name="price_subtotal" position="replace" />
+           </field>
+       </record>
     </data>
 </openerp>