Browse Source

[9.0][FIX] partner_contact_job_position: error loading form view.

pull/514/head
lreficent 7 years ago
parent
commit
c1f6669fc7
  1. 2
      partner_contact_job_position/__openerp__.py
  2. 1
      partner_contact_job_position/views/res_partner_view.xml

2
partner_contact_job_position/__openerp__.py

@ -6,7 +6,7 @@
{
"name": "Partner job position",
"summary": "Categorize job positions for contacts",
"version": "9.0.1.0.0",
"version": "9.0.1.1.0",
'category': 'Customer Relationship Management',
"website": "http://www.tecnativa.com",
'author': 'Tecnativa, '

1
partner_contact_job_position/views/res_partner_view.xml

@ -13,6 +13,7 @@
</field>
<xpath expr="//field[@name='child_ids']/form//field[@name='function']"
position="before">
<field name="is_company" invisible="1"/>
<field name="job_position_id"
attrs="{'invisible': [('is_company','=', True)]}"
options='{"no_open": True}'/>

Loading…
Cancel
Save