Browse Source

[IMP] whitespace/indentation and module description

pull/2/head
unknown 12 years ago
parent
commit
354d14fe74
  1. 8
      partner_contact_address_detailed/__openerp__.py
  2. 7
      partner_contact_address_detailed/partner_view.xml

8
partner_contact_address_detailed/__openerp__.py

@ -18,9 +18,9 @@
# #
############################################################################## ##############################################################################
{'name': 'All address, Contact form',
'description': """Show all informations of partner address in partner contact form
""",
{'name': 'All address data in summarized contact form',
'description': """Show all informations of partner address
in summarized partner contact form when creating a new partner""",
'version': '1.0', 'version': '1.0',
'author': 'Camptocamp', 'author': 'Camptocamp',
'category': 'MISC', 'category': 'MISC',
@ -32,4 +32,4 @@
'auto_install': False, 'auto_install': False,
'installable': True, 'installable': True,
'images': [] 'images': []
}
}

7
partner_contact_address_detailed/partner_view.xml

@ -1,12 +1,10 @@
<openerp> <openerp>
<data> <data>
<record id="view_partner_form_firstname" model="ir.ui.view"> <record id="view_partner_form_firstname" model="ir.ui.view">
<field name="name">res.partner.form.firstname</field> <field name="name">res.partner.form.firstname</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/> <field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//page[@string='Contacts']/field/form/div/group/field[@name='mobile']" position="after"> <xpath expr="//page[@string='Contacts']/field/form/div/group/field[@name='mobile']" position="after">
<label for="type"/> <label for="type"/>
<div colspan="2"> <div colspan="2">
@ -26,13 +24,8 @@
<field name="email" widget="email"/> <field name="email" widget="email"/>
<field name="title" domain="[('domain', '=', 'contact')]" <field name="title" domain="[('domain', '=', 'contact')]"
options='{"no_open": True}' /> options='{"no_open": True}' />
</xpath> </xpath>
</field> </field>
</record> </record>
</data> </data>
</openerp> </openerp>
Loading…
Cancel
Save