Browse Source

Update dependencies.

pull/147/head
Jairo Llopis 10 years ago
parent
commit
9aaae0e0d1
  1. 5
      partner_contact_gender/README.rst
  2. 2
      partner_contact_gender/__openerp__.py
  3. 4
      partner_contact_gender/views/res_partner.xml

5
partner_contact_gender/README.rst

@ -4,12 +4,9 @@
Partner Gender Partner Gender
============== ==============
This module was written to extend the functionality of `base_contact`_ to
This module was written to extend the functionality of Odoo contacts manager to
support setting the gender of a partner. support setting the gender of a partner.
.. _base_contact: https://github.com/OCA/partner-contact/tree/8.0/base_contact
Installation Installation
============ ============

2
partner_contact_gender/__openerp__.py

@ -27,7 +27,7 @@
"application": False, "application": False,
"summary": "Add gender field to contacts", "summary": "Add gender field to contacts",
"depends": [ "depends": [
"base_contact",
"partner_contact_personal_information_page",
], ],
"data": [ "data": [
"views/res_partner.xml", "views/res_partner.xml",

4
partner_contact_gender/views/res_partner.xml

@ -24,10 +24,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<record id="form" model="ir.ui.view"> <record id="form" model="ir.ui.view">
<field name="name">Partner gender</field> <field name="name">Partner gender</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base_contact.view_partner_form_inherit"/>
<field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//field[@name='nationality_id']" position="after">
<xpath expr="//group[@name='personal_information_group']">
<field name="gender"/> <field name="gender"/>
</xpath> </xpath>
</data> </data>

Loading…
Cancel
Save