Setting up mgmnt_nonconformity test site

Asked by Brian Gallaway

I'm trying to set up a test system with OpenERP and the nonconformity module. I used the Bitnami virtual machine to get a quick OpenERP test site running, and managed to install the nonconformity module and its dependancies without any issues.

However, whenever I try to actually create any nonconformities, I get errors.

I'm wondering if I've set something up wrong, or if there might be a better way to test out this system to see if it meets our needs. I'm new to OpenERP.

Error is as follows:

OpenERP Server Error
Client Traceback (most recent call last):
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/controllers/main.py", line 1128, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/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 "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/mgmtsystem_nonconformity/mgmtsystem_nonconformity.py", line 199, in create
    return super(mgmtsystem_nonconformity, self).create(cr, uid, vals, context)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/mail/mail_thread.py", line 256, in create
    self.message_auto_subscribe(cr, uid, [thread_id], list(create_values), context=context)
  File "/opt/bitnami/apps/openerp/lib/openerp-7.0_20130922_231028-py2.7.egg/openerp/addons/mgmtsystem_nonconformity/mgmtsystem_nonconformity.py", line 206, in message_auto_subscribe
    return super(mgmtsystem_nonconformity, self).message_auto_subscribe(cr, uid, ids, updated_fields=updated_fields, context=context, values=values)
TypeError: message_auto_subscribe() got an unexpected keyword argument 'values'

Question information

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) said :
#1

Hello Brian,

This is a bug which has been fixed :
https://bugs.launchpad.net/openerp-mgmtsystem/+bug/1267840

Revision history for this message
Brian Gallaway (brian-gallaway) said :
#2

I have the latest version of these modules, which include those fixes. I still get that error messages.

In fact, the error message references the 'values' parameter which was added when fixing the bug you've pointed me to.

Revision history for this message
Nadeem (nadeem404) said :
#3

Hi

I have been able to fix this issue by upgrading mgmtsystem_action, but it fixed only for admin.
Whereas error still exists for other users.

Can you help with this problem?

Provide an answer of your own, or ask Brian Gallaway for more information if necessary.

To post a message you must log in.