c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15248
[Bug 713777] Re: Cannot create employee.
*** This bug is a duplicate of bug 713177 ***
https://bugs.launchpad.net/bugs/713177
** This bug has been marked a duplicate of bug 713177
try to create an employee as employee -> bug
* You can subscribe to bug 713177 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/713177/+subscribe
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/713777
Title:
Cannot create employee.
Status in OpenERP Server:
New
Bug description:
I'm unable to create a new employee with another user than admin.
I first thought it was related to the read/write access on objects but I tried the following:
Creating a new user manually and assigning all groups --> not working.
Duplicating admin user --> not working
When I try to create a new entry I get the following error :
Traceback (most recent call last): File "/home/xxxxx/openerp/openerp-
server-6.0.1/bin/netsvc.py", line 489, in dispatch result =
ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/xxxxx/openerp/openerp-
server-6.0.1/bin/service/web_services.py", line 599, in dispatch res =
fn(db, uid, *params) File "/home/xxxxx/openerp/openerp-
server-6.0.1/bin/osv/osv.py", line 122, in wrapper return f(self,
dbname, *args, **kwargs) File "/home/xxxxx/openerp/openerp-
server-6.0.1/bin/osv/osv.py", line 176, in execute res =
self.execute_cr(cr, uid, obj, method, *args, **kw) File
"/home/xxxxx/openerp/openerp-server-6.0.1/bin/osv/osv.py", line 167,
in execute_cr return getattr(object, method)(cr, uid, *args, **kw)
File "/home/xxxxx/openerp/openerp-server-6.0.1/bin/osv/orm.py", line
973, in default_get defaults[f] = self._defaults[f](self, cr, uid,
context) File "/openerp-server/addons/hr/hr.py", line 194, in <lambda>
'address_id': lambda self,cr,uid,c:
self.pool.get('res.partner.address').browse(cr, uid, uid,
c).partner_id.id File "/home/xxxxx/openerp/openerp-
server-6.0.1/bin/osv/orm.py", line 287, in __getattr__ raise
AttributeError(e) AttributeError: 'Field partner_id not found in
browse_record(res.partner.address, 5)'
My environnement:
Ubuntu server 10.04.
Openerp-server / Gtk and webclient v6.0.1 Stable release.
Only certified modules installed.
References