← Back to team overview

openerp-india team mailing list archive

[Bug 1256437] [NEW] duplicating a user duplicates all employee data

 

You have been subscribed to a public bug:

On a fresh installation of OpenERP nightly -latest.exe

I installed Employee Directory module.

After creating an additional user and employee data, where user1 is
user2 manager, if user1 is duplicated so will user2 in the human
resources module. Is this intended? I want to duplicate a user because
of access rights, but I don't want to duplicate any employee data.

1) Steps to reproduce the issue you have observed
1.1) Install Employee Directory module
1.2) Create a user1 under settings users
1.3) Create an employee under human resources employee
1.3.1) Related user is user1, manager is administrator.
1.4) In settings/users create a duplicate user of administrator

Note: Duplicating the administrator again will create 2 more copies of
everything... so it's 2, 4, 8, 16, 32, etc... if there are 2 levels
(that is if we create a user2, that has manager user1) with just 5
copies of administrator we have over 200 employees created.

2) The result you observed
A user is created in human resources employee and also all users that have administrator as manager are duplicated.

3) The result you expected
Create a user and not affect the Human Resources Employee data

4) The platform you are using (and browser version, if relevant)
Windows, Chrome

5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if possible including the specific revision (e.g. r.2824) if you use the source repositories.
Version 7.0-20131129-002434

Note: After uninstalling the Employee module it can't be installed
again, it outputs error regarding hr.job duplication.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
duplicating a user duplicates all employee data
https://bugs.launchpad.net/bugs/1256437
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.