c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20544
[Bug 713177] Re: try to create an employee as employee -> bug
How do I correct the bug manually please?
--
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/713177
Title:
try to create an employee as employee -> bug
Status in OpenERP Modules (addons):
Fix Released
Bug description:
- create a user with groups by default (only partner manager and employee)
- connect you as this user
- go to employee list view
- click new
Traceback (most recent call last):
File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 974, in default_get
defaults[f] = self._defaults[f](self, cr, uid, context)
File "/home/aline/openerp/trunk/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/aline/openerp/trunk/server/bin/osv/orm.py", line 287, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_id not found in browse_record(res.partner.address, 5)'
References