Still having the problem while trying to share a project:
Client Traceback (most recent call last):
File "/srv/openerp7/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/srv/openerp7/openerp/addons/web/controllers/main.py", line 1083, in call_button
action = self._call_kw(req, model, method, args, {})
File "/srv/openerp7/openerp/addons/web/controllers/main.py", line 1071, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/srv/openerp7/openerp/addons/web/session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/srv/openerp7/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/srv/openerp7/openerp/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/srv/openerp7/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/srv/openerp7/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/srv/openerp7/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/srv/openerp7/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/srv/openerp7/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/srv/openerp7/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp7/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/srv/openerp7/openerp/addons/share/wizard/share_wizard.py", line 696, in go_step_2
self._check_preconditions(cr, uid, wizard_data, context=context)
File "/srv/openerp7/openerp/addons/portal/wizard/share_wizard.py", line 56, in _check_preconditions
return super(share_wizard_portal, self)._check_preconditions(cr, uid, wizard_data, context=context)
File "/srv/openerp7/openerp/addons/share/wizard/share_wizard.py", line 663, in _check_preconditions
self._assert(self.has_share(cr, uid, context=context),
TypeError: has_share() takes at least 4 non-keyword arguments (3 given)
Still having the problem while trying to share a project:
Client Traceback (most recent call last): openerp/ addons/ web/http. py", line 195, in dispatch "result" ] = method(self, **self.params) openerp/ addons/ web/controllers /main.py" , line 1083, in call_button openerp/ addons/ web/controllers /main.py" , line 1071, in _call_kw req.session. model(model) , method)(*args, **kwargs) openerp/ addons/ web/session. py", line 43, in proxy execute_ kw(self. session. _db, self.session._uid, self.session. _password, self.model, method, args, kw) openerp/ addons/ web/session. py", line 31, in proxy_method send(self. service_ name, method, *args) openerp/ addons/ web/session. py", line 104, in send Fault(openerp. tools.ustr( e), formatted_info)
File "/srv/openerp7/
response[
File "/srv/openerp7/
action = self._call_kw(req, model, method, args, {})
File "/srv/openerp7/
return getattr(
File "/srv/openerp7/
result = self.proxy.
File "/srv/openerp7/
result = self.session.
File "/srv/openerp7/
raise xmlrpclib.
Server Traceback (most recent call last): openerp/ addons/ web/session. py", line 90, in send netsvc. dispatch_ rpc(service_ name, method, args) openerp/ netsvc. py", line 295, in dispatch_rpc getService( service_ name).dispatch( method, params) openerp/ service/ web_services. py", line 614, in dispatch openerp/ osv/osv. py", line 169, in execute_kw openerp/ osv/osv. py", line 123, in wrapper openerp/ osv/osv. py", line 179, in execute openerp/ osv/osv. py", line 166, in execute_cr openerp/ addons/ share/wizard/ share_wizard. py", line 696, in go_step_2 _check_ preconditions( cr, uid, wizard_data, context=context) openerp/ addons/ portal/ wizard/ share_wizard. py", line 56, in _check_ preconditions wizard_ portal, self)._ check_precondit ions(cr, uid, wizard_data, context=context) openerp/ addons/ share/wizard/ share_wizard. py", line 663, in _check_ preconditions _assert( self.has_ share(cr, uid, context=context),
File "/srv/openerp7/
return openerp.
File "/srv/openerp7/
result = ExportService.
File "/srv/openerp7/
res = fn(db, uid, *params)
File "/srv/openerp7/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/srv/openerp7/
return f(self, dbname, *args, **kwargs)
File "/srv/openerp7/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp7/
return getattr(object, method)(cr, uid, *args, **kw)
File "/srv/openerp7/
self.
File "/srv/openerp7/
return super(share_
File "/srv/openerp7/
self.
TypeError: has_share() takes at least 4 non-keyword arguments (3 given)