openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #18191
[Bug 1082003] [NEW] Project - Problem with adding custom field
Public bug reported:
Hi,
I tried do add custom field to project, but without success.
I am using version 6.2dev-20121122-000101
You can see error report:
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 192, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1242, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1204, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 105, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 596, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 340, in create
self.pool.get(vals['model']).__init__(self.pool, cr)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1071, 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 project.project
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1082003
Title:
Project - Problem with adding custom field
Status in OpenERP Server:
New
Bug description:
Hi,
I tried do add custom field to project, but without success.
I am using version 6.2dev-20121122-000101
You can see error report:
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 192, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1242, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1204, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 105, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 596, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 340, in create
self.pool.get(vals['model']).__init__(self.pool, cr)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1071, 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 project.project
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1082003/+subscriptions
Follow ups
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Serpent Consulting Services, 2013-02-18
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Xavier ALT (OpenERP), 2013-02-11
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: ajay javiya (OpenERP), 2012-12-05
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Dragan Gregurec, 2012-12-03
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: ajay javiya (OpenERP), 2012-12-03
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Ray Carnes, 2012-12-02
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Dragan Gregurec, 2012-11-28
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Saransh, 2012-11-25
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Dragan Gregurec, 2012-11-23
-
[Bug 1082003] Re: Project - Problem with adding custom field
From: Jignesh Rathod(OpenERP), 2012-11-23
-
[Bug 1082003] [NEW] Project - Problem with adding custom field
From: Dragan Gregurec, 2012-11-22
References