c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22014
[Bug 763761] Re: 'Invalid Model Name' Error when installing Account Check Writing module
Hi Rerooting,
This issue occurs if you restart the server in between running the wizard. Please make sure the OpenERP server is not restarted when you are running any wizards.
** Changed in: openerp-usa
Status: New => Confirmed
** Changed in: openerp-usa
Assignee: (unassigned) => Sinoj Sebastin (ssebastian)
--
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/763761
Title:
'Invalid Model Name' Error when installing Account Check Writing
module
Status in OpenERP - US Localization:
Confirmed
Bug description:
When installing the latest branch of the openerp-usa modules, I get
this warning:
Error occurred while validating the field(s) res_model,src_model:
Invalid model name in the action definition.
Here is the traceback for the error as well:
Traceback (most recent call last):
File "/home/openerp/server-6.0.2/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp/server-6.0.2/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/server-6.0.2/bin/addons/audittrail/audittrail.py", line 511, in execute
res = my_fct(db, uid, model, method, *args)
File "/home/openerp/server-6.0.2/bin/addons/audittrail/audittrail.py", line 489, in my_fct
return fct_src(db, uid, model, method, *args)
File "/home/openerp/server-6.0.2/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/server-6.0.2/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/server-6.0.2/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/server-6.0.2/bin/osv/orm.py", line 1981, in write
self.datas[object_id].update(vals2)
KeyError: 1
I am assuming that this is something very simple, I will investigate
with my limited knowledge and hopefully be able to pick out the error.
FYI, the other dependencies are installed correctly.
References