registry = openerp.modules.registry.RegistryManager.get(db_name)
with registry.cursor() as cr:
works only if db_name located on same server as the database where such code is executed.
So it should be removed from saas_portal. Command to saas_server should be sent instead
./saas_portal/models/wizard.py:47: with registry.cursor() as rcr:
./saas_portal/controllers/main.py:58: with registry.cursor() as cr:
This
works only if db_name located on same server as the database where such code is executed. So it should be removed from saas_portal. Command to saas_server should be sent instead