Skip to content

Commit

Permalink
[MIG] partner_contact_job_position: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tisho99 committed May 21, 2024
1 parent 961c741 commit f9254a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion partner_contact_job_position/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "Partner Job Position",
"summary": "Categorize job positions for contacts",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
action="res_partner_job_position_action"
id="menu_res_partner_job_position"
parent="contacts.res_partner_menu_config"
sequence="4"
/>
</odoo>
4 changes: 2 additions & 2 deletions partner_contact_job_position/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<field name="function" position="before">
<field
name="job_position_id"
attrs="{'invisible': [('is_company','=', True)]}"
invisible="is_company == True"
options='{"no_open": True}'
/>
</field>
Expand All @@ -19,7 +19,7 @@
<field name="is_company" invisible="True" />
<field
name="job_position_id"
attrs="{'invisible': [('is_company','=', True)]}"
invisible="is_company == True"
options='{"no_open": True}'
/>
</xpath>
Expand Down

0 comments on commit f9254a3

Please sign in to comment.