[6.0] Unable to create employee with a no-admin account
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hi,
I can't create an Employee in the hr module if I'm not admin. I got an error from this line of code:
hr.py / l194
_defaults = {
}
File "/home/
I'm pretty sure the bug come from the fact that you browse on 'uid' ids on res.parter.address (instead of the users table). So it works when the user is admin because the address with id=1 exists. But, in my case, the address with id=7 doesn't.
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
status: | Fix Committed → Fix Released |
Hello Thibaut,
I have checked your issue.
Which group did you assign for another user?
Would you please elaborate with more.
Thanks