ee9e9d701878122133e2851fd9e98b5eb5f9b17b
[burette/etudesetchantiersidf.git] / view / bikecoop.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <openerp>
3 <data>
4 <record id="view_bikecoop_members_form" model="ir.ui.view">
5 <field name="name">res.partner.form</field>
6 <field name="model">res.partner</field>
7 <field name="inherit_id" ref="bikecoop.view_bikecoop_members_form"/>
8 <field name="arch" type="xml">
9 <xpath expr="//field[@name='name']" position="replace">
10 <field name="name" placeholder="LASTNAME Firstname"/>
11 </xpath>
12 </field>
13 </record>
14 <record id="view_bikecoop_l10n_fr_members_form" model="ir.ui.view">
15 <field name="name">res.partner.form</field>
16 <field name="model">res.partner</field>
17 <field name="inherit_id" ref="bikecoop_l10n_fr.view_bikecoop_l10n_fr_members_form"/>
18 <field name="arch" type="xml">
19 <xpath expr="//field[@name='membership_state']" position="after">
20 <field name="membership_id"/>
21 </xpath>
22 <xpath expr="//field[@name='occupation_id']" position="replace">
23 <field name="occupation_id"/>
24 </xpath>
25 <xpath expr="//field[@name='nationality_id']" position="replace">
26 <field name="nationality_id"/>
27 </xpath>
28 <page string="Associate members" position="replace"/>
29 <xpath expr="//field[@name='name']" position="replace">
30 <field name="name" placeholder="LASTNAME Firstname"/>
31 </xpath>
32 <xpath expr="//field[@name='year']" position="replace">
33 <field name="year" placeholder="1900"/>
34 </xpath>
35 <field name="occupation_id" position="replace"/>
36 <xpath expr="//page[@string='Memberships']" position="after">
37 <page string="Invoice membership" groups="account.group_account_manager">
38 <p>Use this button to invoice a membership product to a partner. You'll can set the membership start date.</p>
39 <button name="%(membership.action_membership_invoice_view)d" type="action" string="Invoice membership"/>
40 </page>
41 </xpath>
42 </field>
43 </record>
44 </data>
45 </openerp>