hello
I have the same error but the output is a little different.
appears when I try to activate the marketing modulates the initial
configuration settings as I have with Ubuntu 10.04 in openerp.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line
489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth,
params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line
1982, in write
self.datas[object_id].update(vals2)
KeyError: 1
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/853699
Title:
Error ! You can not create recursive Menu installing marketing module
Status in OpenERP Addons (modules):
Incomplete
Bug description:
I try to install event module. One of its dependant modules is
marketing. When it starts the actualization i receive this error on
screen:
ValidateError
Error occurred while validating the field(s) parent_id: Error ! You can not
create recursive Menu.
Looking for in a log file i found this:
INFO:init:module marketing: loading campaign/campaign_view.xml
DEBUG:translate:no translation language detected, skipping translation for
"'Error ! You can not create recursive Menu.'"
DEBUG:translate:no translation language detected, skipping translation for
"'Error occurred while validating the field(s) %s: %s'"
ERROR:tools.convert.xml_import:Parse error in
/home/openerp/src/6.0-development/addons-extra-bzr/marketing/campaign/campaign_view.xml:43:
<menuitem name="Marketing Operations/Campaigns" action="view_campaign_tree"
groups="base.group_system" id="menu_marketing_operations_campaigns"/>
Traceback (most recent call last):
File
"/home/openerp/src/6.0-development/openerp-server/bin/tools/convert.py", line
865, in parse
self._tags[rec.tag](self.cr, rec, n)
File
"/home/openerp/src/6.0-development/openerp-server/bin/tools/convert.py", line
663, in _tag_menuitem
pid = self.pool.get('ir.model.data')._update(cr, self.uid, 'ir.ui.menu',
self.module, values, xml_id, noupdate=self.isnoupdate(data_node),
mode=self.mode, res_id=res and res[0] or False)
File
"/home/openerp/src/6.0-development/openerp-server/bin/addons/base/ir/ir_model.py",
line 669, in _update
model_obj.write(cr, uid, [res_id], values, context=context)
File
"/home/openerp/src/6.0-development/openerp-server/bin/addons/base/ir/ir_ui_menu.py",
line 150, in write
return super(ir_ui_menu, self).write(*args, **kwargs)
File "/home/openerp/src/6.0-development/openerp-server/bin/osv/orm.py",
line 3453, in write
self._validate(cr, user, ids, context)
File "/home/openerp/src/6.0-development/openerp-server/bin/osv/orm.py",
line 946, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', 'Error occurred while validating the field(s)
parent_id: Error ! You can not create recursive Menu.')
We use 6.0.3 version of openerp on ubuntu linux 11.04
Marketing version of the module is 6.0.1.0.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/853699/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp