Skip to content

Commit

Permalink
[MIG] partner_contact_nationality: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-pn committed Nov 24, 2023
1 parent 50fb705 commit 34a143c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion partner_contact_nationality/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Contact nationality",
"summary": "Add nationality field to contacts",
"version": "16.0.1.0.1",
"version": "17.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact",
"author": "Grupo ESOC, Odoo Community Association (OCA)",
Expand Down
12 changes: 5 additions & 7 deletions partner_contact_nationality/views/res_partner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
ref="partner_contact_personal_information_page.personal_information"
/>
<field name="arch" type="xml">
<data>
<xpath
expr="//page[@name='personal_information_page']/group[@name='personal_information_group']"
>
<field name='nationality_id' />
</xpath>
</data>
<xpath
expr="//page[@name='personal_information_page']/group[@name='personal_information_group']"
>
<field name='nationality_id' />
</xpath>
</field>
</record>
</odoo>

0 comments on commit 34a143c

Please sign in to comment.