Help

0

Studio Export Error: is_portal

Avatar
Gregory Gillis

I am making an app on a test database, and when I go to export to upload to live database, I am getting the following error message:

018-10-25 18:16:43,302 13507 INFO coding-enterprise werkzeug: 127.0.0.1 - - [25/Oct/2018 18:16:43] "POST /web_studio/export HTTP/1.1" 500 - 5 0.006 0.017
2018-10-25 18:16:43,310 13507 ERROR coding-enterprise werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/werkzeug/serving.py", line 205, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.6/site-packages/werkzeug/serving.py", line 193, in execute
application_iter = app(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/service/server.py", line 339, in app
return self.app(e, s)
File "/Users/squirrelicorn/odoo12/odoo/service/wsgi_server.py", line 128, in application
return application_unproxied(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/service/wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 1317, in __call__
return self.dispatch(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 1290, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.6/site-packages/werkzeug/wsgi.py", line 599, in __call__
return self.app(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 1485, in dispatch
result = ir_http._dispatch()
File "/Users/squirrelicorn/odoo12/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/addons/web_editor/models/ir_http.py", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/addons/http_routing/models/ir_http.py", line 394, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/ir_http.py", line 207, in _dispatch
return cls._handle_exception(e)
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/ir_http.py", line 177, in _handle_exception
return request._handle_exception(exception)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 773, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/Users/squirrelicorn/odoo12/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/ir_http.py", line 203, in _dispatch
result = request.dispatch()
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 832, in dispatch
r = self._call_function(**self.params)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/Users/squirrelicorn/odoo12/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 938, in __call__
return self.method(*args, **kw)
File "/Users/squirrelicorn/odoo12/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/main.py", line 584, in export
content = export.generate_archive(studio_module, data)
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/export.py", line 94, in generate_archive
for filename, content in generate_module(module, data):
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/export.py", line 124, in generate_module
fields = [records._fields[name] for name in FIELDS_TO_EXPORT[model]]
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/export.py", line 124, in <listcomp>
fields = [records._fields[name] for name in FIELDS_TO_EXPORT[model]]
KeyError: 'is_portal' - - - 

Not sure why this is suddenly appearing. Was able to export earlier as a backup, but not sure what all has changed since that would have lead to a portal issue. 

Odoo 12 Enterprise, Studio

الصورة الرمزية
تجاهل