Merge lp:~openerp-dev/openobject-addons/7.0-opw-582890-cbi into lp:openobject-addons/7.0

Proposed by Chris Biersbach (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-582890-cbi
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
hr/hr.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-582890-cbi
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+151750@code.launchpad.net

Description of the change

The inconvenient: In some countries, "cohabitant" is a marital status that has to be distinguished legally from other statuses (f.ex. Belgium)

The solution: I added "cohabitant" as a value in the selection field for hr_employees.

To post a comment you must log in.

Unmerged revisions

8798. By Chris Biersbach (OpenERP)

[IMP] HR: Adds a 'cohabitant' value to the marital selection field on employees

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hr/hr.py'
--- hr/hr.py 2012-12-24 12:29:19 +0000
+++ hr/hr.py 2013-03-05 13:38:26 +0000
@@ -166,7 +166,7 @@
166 'identification_id': fields.char('Identification No', size=32),166 'identification_id': fields.char('Identification No', size=32),
167 'otherid': fields.char('Other Id', size=64),167 'otherid': fields.char('Other Id', size=64),
168 'gender': fields.selection([('male', 'Male'),('female', 'Female')], 'Gender'),168 'gender': fields.selection([('male', 'Male'),('female', 'Female')], 'Gender'),
169 'marital': fields.selection([('single', 'Single'), ('married', 'Married'), ('widower', 'Widower'), ('divorced', 'Divorced')], 'Marital Status'),169 'marital': fields.selection([('single', 'Single'), ('married', 'Married'), ('widower', 'Widower'), ('divorced', 'Divorced'), ('cohabitant', 'Cohabitant')], 'Marital Status'),
170 'department_id':fields.many2one('hr.department', 'Department'),170 'department_id':fields.many2one('hr.department', 'Department'),
171 'address_id': fields.many2one('res.partner', 'Working Address'),171 'address_id': fields.many2one('res.partner', 'Working Address'),
172 'address_home_id': fields.many2one('res.partner', 'Home Address'),172 'address_home_id': fields.many2one('res.partner', 'Home Address'),