<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>