openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21610
[Bug 1100217] Re: hr_attendance error rec_name
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1100217
Title:
hr_attendance error rec_name
Status in OpenERP Addons (modules):
Invalid
Bug description:
I obtain rec_name error when I try to install hr_attendance module
Traceback (most recent call last):
File "/mnt/uniforme_data/openerp/7.0/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/addons/base/ir/ir_model.py", line 345, in create
self.pool.get(vals['model']).__init__(self.pool, cr)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/osv/orm.py", line 1083, in __init__
assert self._rec_name in self._columns.keys() + ['id'], "Invalid rec_name %s for model %s" % (self._rec_name, self._name)
AssertionError: Invalid rec_name name for model hr.attendance.error
The rec name is "name" but the field "name" does not exist in model
hr.attendance.error
branch: bzr+ssh://bazaar.launchpad.net/%2Bbranch/openobject-addons/7.0/
revno: 8586
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1100217/+subscriptions
References