Can't create a related user from Employee screen

Bug #1098300 reported by Matt Burgess
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 3

Bug Description

Version: 7.0-20130110-001608

On a newly created database, with the Employee Directory (hr) module loaded:

Reproduction Recipe:

1) Go to Human Resources -> Employees -> Create
2) Complete the required field, 'Name'
3) From the 'Related User' drop-down, choose 'Create and Edit...'
4) In the 'Create: Related User' screen, complete the required field, 'Name', then click 'Save'

Expected Result:

1) A new user should be created
2) I should be returned to the 'Employees / New' screen, with the 'Related User' drop-down populated with the newly created user's name. This matches the behaviour of other components of ERP when a 'Create and Edit...' link is selected and the sub-form is completed successfully

Actual Result:

I get the following 'OpenERP Warning':

Invalid Action!

You may not create a user. To create new users, you should use the "Settings > Users" menu.

I can't think of a reason (constraints, etc.) why this behaviour differs between this use case and other form/sub-form cases.

Tags: hr

Related branches

Changed in openobject-addons:
status: New → Confirmed
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Hello,

          It has been fixed in the branch : https://code.launchpad.net/~openerp-dev/openobject-server/trunk-bug-1098300-dhr
          rev no : 4769
          rev id : <email address hidden>
         and will be soon merged in trunk

Thanks

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Hello,

          It has been fixed in the branch :https://code.launchpad.net/~openerp-dev/openobject-server/7.0-bug-1098300-dhr
          rev no : 4805
          rev id : <email address hidden>
         and will be soon merged.

Thanks

tags: added: hr
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.