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/", 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/", 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/", 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/", 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/", 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/", line 103, in send
    raise xmlrpclib.Fault(, 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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/", 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 ( (max3903) said :

Hello Brian,

This is a bug which has been fixed :

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

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 :


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.