Browse Source

Migration partner_contact_birthdate partner_contact_gender part… (#315)

[MIG] Migration partner_contact_birthdate partner_contact_gender partner_contact_personal_information_page to v10
pull/710/head
invitu 8 years ago
committed by Jairo Llopis
parent
commit
40ebf2de25
  1. 4
      partner_contact_personal_information_page/__manifest__.py
  2. 8
      partner_contact_personal_information_page/views/res_partner.xml

4
partner_contact_personal_information_page/__manifest__.py

@ -4,7 +4,7 @@
{
"name": "Personal information page for contacts",
"summary": "Add a page to contacts form to put personal information",
"version": "9.0.1.0.0",
"version": "10.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://odoo-community.org/",
"author": "Odoo Community Association (OCA)",
@ -17,7 +17,7 @@
],
"license": "AGPL-3",
'application': False,
'installable': False,
'installable': True,
'auto_install': False,
"depends": [
"base"

8
partner_contact_personal_information_page/views/res_partner.xml

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Declared the same in every module that may need it -->
<record id="personal_information" model="ir.ui.view">
<field name="name">Personal information page for contacts form</field>
@ -12,14 +10,12 @@
<data>
<xpath expr="//page[@name='internal_notes']" position="after">
<page name="personal_information_page"
string="Personal Information"
attrs="{'invisible': [('is_company','=',True)]}">
string="Personal Information"
attrs="{'invisible': [('is_company','=',True)]}">
<group name="personal_information_group"/>
</page>
</xpath>
</data>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save