Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message: Expected singleton: saas_server.client() #789

Open
msdeek opened this issue Jul 30, 2018 · 4 comments
Open

Message: Expected singleton: saas_server.client() #789

msdeek opened this issue Jul 30, 2018 · 4 comments

Comments

@msdeek
Copy link

msdeek commented Jul 30, 2018

Odoo v 10.0

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 327, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 942, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 507, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 896, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/odoo-server/addons/web/controllers/main.py", line 884, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in action_sync_server
File "/odoo/odoo-server/odoo/api.py", line 369, in loop
result = [method(rec, *args, **kwargs) for rec in self]
File "/odoo/custom/addons/saas_portal/models/saas_portal.py", line 136, in action_sync_server
raise Warning('Reason: %s \n Message: %s' % (res.reason, res.content))
Warning: Reason: INTERNAL SERVER ERROR
Message: Expected singleton: saas_server.client()


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@YogendrasinhChavda
Copy link
Contributor

Hello @msetiha ,
Good Morning!
The issue is fixed. Please take the latest pull of 11.0 and check it.
Thanks

@usmanfarzandali
Copy link

@YogendrasinhChavda not fixed in odoo 10 c?

@maherkhalil07
Copy link

Hi friends
I need someone to install odoo with saas tools in my private server
if interested send me e mail ([email protected])
Regards;

@ghost
Copy link

ghost commented May 27, 2019

Hello Friends,
Case:1
I'm facing My portal database on Odoo 11 and my server database on Odoo 10. When I create a server in the main database(portal database) and sync server than it returns an error to me below :
Warning: Reason: INTERNAL SERVER ERROR
Message: Expected singleton: saas_server.client()

but when I'm sync from the plan it's not through any error. so how can I fix server in the main database(portal database) sync server?

Case:2
Both database (portal and server) on Odoo 11 than it's not a through any error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants