openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20300
[Bug 1093038] [NEW] v7.0: unable to share portal
Public bug reported:
lient Traceback (most recent call last):
File "/home/odoo/source/web/addons/web/http.py", line 195, in dispatch
Step To Reproduce:
1. select customer
2. Click "More" > "Embed"
3. Click "Share"
Below is the result:
response["result"] = method(self, **self.params)
File "/home/odoo/source/web/addons/web/controllers/main.py", line 1082, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/odoo/source/web/addons/web/controllers/main.py", line 1070, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/source/web/addons/web/session.py", line 40, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/odoo/source/web/addons/web/session.py", line 28, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/odoo/source/web/addons/web/session.py", line 101, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/odoo/source/web/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/source/server/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/source/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/source/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/source/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/source/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/source/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/source/addons/share/wizard/share_wizard.py", line 696, in go_step_2
self._check_preconditions(cr, uid, wizard_data, context=context)
File "/home/odoo/source/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 "/home/odoo/source/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 arguments (4 given)
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1093038
Title:
v7.0: unable to share portal
Status in OpenERP Addons (modules):
New
Bug description:
lient Traceback (most recent call last):
File "/home/odoo/source/web/addons/web/http.py", line 195, in dispatch
Step To Reproduce:
1. select customer
2. Click "More" > "Embed"
3. Click "Share"
Below is the result:
response["result"] = method(self, **self.params)
File "/home/odoo/source/web/addons/web/controllers/main.py", line 1082, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/odoo/source/web/addons/web/controllers/main.py", line 1070, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/source/web/addons/web/session.py", line 40, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/odoo/source/web/addons/web/session.py", line 28, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/odoo/source/web/addons/web/session.py", line 101, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/odoo/source/web/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/source/server/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/source/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/source/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/source/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/source/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/source/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/source/addons/share/wizard/share_wizard.py", line 696, in go_step_2
self._check_preconditions(cr, uid, wizard_data, context=context)
File "/home/odoo/source/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 "/home/odoo/source/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 arguments (4 given)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1093038/+subscriptions
Follow ups
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Benjamin Smith, 2013-07-25
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Paul Korotkov, 2013-02-17
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Marcel van der Boom (HS-Development BV), 2013-02-16
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Felix Schubert, 2013-02-11
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Paul Korotkov, 2013-02-09
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Egor Tsinko, 2013-02-08
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Paul Korotkov, 2013-02-08
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Launchpad Bug Tracker, 2013-02-06
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Atul Patel(OpenERP), 2013-02-06
-
[Bug 1093038] Re: v7.0: unable to share portal
From: etsinko, 2013-02-06
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Paul Korotkov, 2013-02-04
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Michael Karrer, 2013-01-31
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Atul Patel(OpenERP), 2012-12-26
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Atul Patel(OpenERP), 2012-12-26
-
[Bug 1093038] Re: v7.0: unable to share portal
From: Twinkle Christian(OpenERP), 2012-12-24
-
[Bug 1093038] [NEW] v7.0: unable to share portal
From: Markus Bala, 2012-12-22
References