[hr] & [hr_contract] Marital status twice

Bug #520992 reported by Ruud Riem-Vis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Mantavya Gajjar (Open ERP)

Bug Description

The marital status is defined twice: first in module hr as a selection type and again in hr_contract in the completion of the hr.employee object as a link to the hr.employee.marital.status object.
When you install both modules, you get the fields under the tab "general" and "miscellaneous" (by the way miss-spelled in the tab title).
The implementation in the hr_contract module is more generic but presenting two fields for the same information will lead to incoherent data encoding.

Nhomar - Vauxoo (nhomar)
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

Hello Ruud Riem-Vis,

thanks for submitting bug.

It will be better to have the marital status fields with the employee compare to contract.

Regards,
mga

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

Hello Ruud Riem-Vis,

I have attached the Patch to solve object design conflicts, please apply and confirm to the same, that its working for you or not

this patch is prepared for the trunk version only.

Regards,
mga

Changed in openobject-addons:
assignee: nobody → mga (Open ERP) (mga)
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

hello,

fixed in trunk addons revision id <email address hidden>

regards,
mga

Changed in openobject-addons:
status: In Progress → Confirmed
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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