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
14.0
invitu 8 years ago
committed by newtratip
parent
commit
16f506f35f
  1. 4
      partner_contact_personal_information_page/__manifest__.py
  2. 10
      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"

10
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>
</odoo>
Loading…
Cancel
Save