Studio Export Error: is_portal

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: - - [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/", line 205, in run_wsgi
File "/usr/local/lib/python3.6/site-packages/werkzeug/", line 193, in execute
application_iter = app(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/service/", line 339, in app
return, s)
File "/Users/squirrelicorn/odoo12/odoo/service/", line 128, in application
return application_unproxied(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/service/", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/", line 1317, in __call__
return self.dispatch(environ, start_response)
File "/Users/squirrelicorn/odoo12/odoo/", line 1290, in __call__
return, start_wrapped)
File "/usr/local/lib/python3.6/site-packages/werkzeug/", line 599, in __call__
return, start_response)
File "/Users/squirrelicorn/odoo12/odoo/", line 1485, in dispatch
result = ir_http._dispatch()
File "/Users/squirrelicorn/odoo12/addons/auth_signup/models/", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/addons/web_editor/models/", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/addons/http_routing/models/", line 394, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/", line 207, in _dispatch
return cls._handle_exception(e)
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/", line 177, in _handle_exception
return request._handle_exception(exception)
File "/Users/squirrelicorn/odoo12/odoo/", line 773, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/Users/squirrelicorn/odoo12/odoo/", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/Users/squirrelicorn/odoo12/odoo/tools/", line 87, in reraise
raise value
File "/Users/squirrelicorn/odoo12/odoo/addons/base/models/", line 203, in _dispatch
result = request.dispatch()
File "/Users/squirrelicorn/odoo12/odoo/", line 832, in dispatch
r = self._call_function(**self.params)
File "/Users/squirrelicorn/odoo12/odoo/", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/Users/squirrelicorn/odoo12/odoo/service/", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/Users/squirrelicorn/odoo12/odoo/", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/Users/squirrelicorn/odoo12/odoo/", line 938, in __call__
return self.method(*args, **kw)
File "/Users/squirrelicorn/odoo12/odoo/", line 517, in response_wrap
response = f(*args, **kw)
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/", line 584, in export
content = export.generate_archive(studio_module, data)
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/", line 94, in generate_archive
for filename, content in generate_module(module, data):
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/", line 124, in generate_module
fields = [records._fields[name] for name in FIELDS_TO_EXPORT[model]]
File "/Users/squirrelicorn/odoo12/enterprise/web_studio/controllers/", 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

الصورة الرمزية