Apparently I have not been clear there is NO dependency on HR the status field is in res_partner_job
'job_ids': fields.one2many('res.partner.job', 'contact_id', 'Functions and Addresses'),
<!-- Views for Contacts Form View -->
<record model="ir.ui.view" id="view_partner_contact_form"> .... snip
<field name="job_ids" colspan="4" nolabel="1" mode="tree,form"> <form string="Functions and Addresses"> <group colspan="4" col="4"> <field name="sequence_contact" /> <field name="function"/> <field name="name" on_change="onchange_name(name,address_id)"/> <field name="address_id"/> <field name="date_start" /> <field name="date_stop" /> <field name="state" />
it just has to be added to <record model="ir.ui.view" id="view_partner_form_inherit">
Apparently I have not been clear
there is NO dependency on HR
the status field is in res_partner_job
'job_ids': fields. one2many( 'res.partner. job', 'contact_id', 'Functions and Addresses'),
<!-- Views for Contacts Form View -->
<record model="ir.ui.view" id="view_ partner_ contact_ form">
.... snip
it just has to be added to partner_ form_inherit" >
<record model="ir.ui.view" id="view_