Fields duplication re-creation between hr modules

Bug #666387 reported by Carlos Almeida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Won't Fix
Undecided
Unassigned
Trunk
Fix Released
Undecided
Dhruti Shastri(OpenERP)

Bug Description

I notice that the field hr.employee.marital, is redefined (duplicated from hr) by module hr_contract in the partner view and database, in the last one by the name hr.employee.marital_status.
Is there a reason for that?
Or it is kind of a bug of module hr_contract?
Because fields duplicating could lead to end user confusion and frustration, if not well documented!

Thank in advance.

Changed in openobject-addons:
assignee: nobody → DHS(OpenERP) (dhs-openerp)
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Dhruti Shastri(OpenERP) (dhs-openerp) wrote :

Hello Carlos Almeida,

I totally agree with you that field is redefined in hr_contract module.

Reason is : hr_contract adds more functionality to field "Marital Status" by setting it many2one so you can add more statuses if needed.

Installing hr module only, includes "Marital Status" as selection field. You cannot add new status in it.
hr_contract module comes with this facility.

However, this really needs improvement. As far as stable is concerned, we cannot add/remove fields so easily.
So, it has been improved in trunk.

You may check the RC1 release of OpenERP from http://www.openerp.com/downloads.

Hope this clears.
Thanks.

Changed in openobject-addons:
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.