← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 720231] Re: [6.0] contact / base_contact : display status of contact in partner form

 

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">

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/720231

Title:
  [6.0] contact / base_contact : display status of contact in partner
  form

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  currently the status of an employee (current/past) is only displayed
  in the contact form but must also be displayed in the partner form.

   IMHO it would be also good to be able to add the date job start/end
  as info fields





References