OCA / server-brand

GNU Affero General Public License v3.0
58 stars 150 forks source link

13.0 mig disable odoo online #22

Closed mileo closed 4 years ago

mileo commented 4 years ago

with rebase and pre-commit

fix: https://github.com/OCA/server-brand/pull/15

ghost commented 4 years ago

Tried this pull request get this error when going from discuss to apps.

Error: Odoo Server Error

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 624, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise raise value File "/usr/lib/python3/dist-packages/odoo/http.py", line 669, in dispatch result = self._call_function(self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function return checked_call(self.db, *args, *kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 915, in call return self.method(*args, *kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap response = f(args, kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1322, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1314, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 383, in call_kw result = _call_kw_model(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 356, in _call_kw_model result = method(recs, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/models.py", line 1441, in load_views for [v_id, v_type] in views File "/usr/lib/python3/dist-packages/odoo/models.py", line 1441, in for [v_id, v_type] in views File "/etc/odoo/addons/server-brand/remove_odoo_enterprise/models/res_config_settings.py", line 18, in fields_view_get view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 386, in fields_view_get toolbar=toolbar, submenu=submenu) File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 206, in fields_view_get r = super().fields_view_get(view_id, view_type, toolbar, submenu) File "/usr/lib/python3/dist-packages/odoo/models.py", line 1528, in fields_view_get xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 987, in postprocess_and_fields self.raise_view_error(message, view_id) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error raise ValueError(message) ValueError: Field auth_signup_uninvited does not exist

Error context: View n/a [view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]

mileo commented 4 years ago

Tried this pull request get this error when going from discuss to apps.

Error: Odoo Server Error

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 624, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise raise value File "/usr/lib/python3/dist-packages/odoo/http.py", line 669, in dispatch result = self._call_function(self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function return checked_call(self.db, *args, *kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 915, in call return self.method(*args, *kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap response = f(args, kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1322, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1314, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 383, in call_kw result = _call_kw_model(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 356, in _call_kw_model result = method(recs, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/models.py", line 1441, in load_views for [v_id, v_type] in views File "/usr/lib/python3/dist-packages/odoo/models.py", line 1441, in for [v_id, v_type] in views File "/etc/odoo/addons/server-brand/remove_odoo_enterprise/models/res_config_settings.py", line 18, in fields_view_get view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 386, in fields_view_get toolbar=toolbar, submenu=submenu) File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 206, in fields_view_get r = super().fields_view_get(view_id, view_type, toolbar, submenu) File "/usr/lib/python3/dist-packages/odoo/models.py", line 1528, in fields_view_get xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 987, in postprocess_and_fields self.raise_view_error(message, view_id) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error raise ValueError(message) ValueError: Field auth_signup_uninvited does not exist

Error context: View n/a [view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]

I think that this erros is not related to this pull request.

The field auth_signup_uninvited https://github.com/odoo/odoo/blob/054d4bc6bc219bcc6b0a64265e8d7e9c7423dbc8/addons/website/models/res_config_settings.py#L39 it from the Odoo core.

mileo commented 4 years ago

Already migrated https://github.com/OCA/server-brand/pull/15