-
-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Labels
Description
ustomize->HTML/CSS Editor-> Редактируем CSS жмем Save - результат: попап с ошибкой
Активируем ?debug=assets --> Customize->HTML/CSS Editor-> Редактируем и жмем Convert to Multi-Website - результат: ошибка в консоли
////////Customize->HTML/CSS Editor-> Edit CSS and click Save/////
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.odoo-custom.js:733:394
TypeError: this.resources.xml[resID] is undefined
website_multi_theme.auto_assets_website_6.js:222:668
Server application error Error code: 200 Error message: Odoo Server Error Error data message: 'JsonRequest' object has no attribute 'website' Error data debug: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 653, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/tools/pycompat.py", line 87, in reraise raise value File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 695, in dispatch result = self._call_function(**self.params) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 517, in response_wrap response = f(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web_editor/controllers/main.py", line 397, in save_less view_to_xpath = IrUiView.get_related_views(bundle_xmlid, bundles=True).filtered(views_linking_url) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/website_multi_theme/models/ir_ui_view.py", line 44, in get_related_views current_website = request.website File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line
343, in __getattr__ return getattr(self._get_current_object(), name) AttributeError: 'JsonRequest' object has no attribute 'website' web.assets_common.js:3833:341
result http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:3833
then http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:802
fire http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:796
fireWith http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:801
done http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:1192
callback http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/content/708-ddff29a/web.assets_common.js:1212
///////?debug=assets --> Convert to Multi-Website/////
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
es5-shim.min.js:3:21
DOM doesn't contain '.o_payment_form' payment_form.js:465:21
window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.odoo-custom.js:733:394
Tour Manager is ready. running_tour=null tour_manager.js:170:17
info: Some modules could not be started boot.js:190:21
Rejected modules:
Array(5) [ "portal.portal", "website_sale.website_sale_category", "website_sale.website_sale", "website_blog.editor", "website_sale.editor" ]
boot.js:198:25
Debug:
Object { "portal.portal": {…}, "website_sale.website_sale_category": {…}, "website_sale.website_sale": {…}, "website_blog.editor": {…}, "website_sale.editor": {…} }
boot.js:207:25
TypeError: this.resources.xml[resID] is undefined
web_editor.js:25:28
Server application error Error code: 200 Error message: Odoo Server Error Error data message: invalid literal for int() with base 10: '/web_editor/static/src/less/web_editor.common.less' Error data debug: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 944, in __get__ value = record.env.cache.get(record, self) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 967, in get value = self._data[key][field][record._ids[0]] KeyError: '/web_editor/static/src/less/web_editor.common.less' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 653, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/tools/pycompat.py", line 87, in reraise raise value File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 695, in dispatch result = self._call_function(**self.params) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/http.py", line 517, in response_wrap response =
f(*args, **kw) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web/controllers/main.py", line 934, in call_kw return self._call_kw(model, method, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/web/controllers/main.py", line 926, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/website_multi_company/models/ir_ui_view.py", line 39, in make_multi_website 'name': self.xml_id, File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 948, in __get__ self.determine_value(record) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1061, in determine_value self.compute_value(recs) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1015, in compute_value self._compute_value(records) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1006, in _compute_value getattr(records, self.compute)() File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/addons/base/ir/ir_ui_view.py", line 302, in _compute_xml_id for data in self.env['ir.model.data'].sudo().search_read(domain, ['module', 'name', 'res_id']): File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 4262, in search_read records = self.search(domain or [], offset=offset, limit=limit, order=order) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 1481, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/mnt/odoo-extra/run
bot/static/build/03201-11-0-0d2716/odoo/models.py", line 3810, in _search query = self._where_calc(args) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/models.py", line 3602, in _where_calc where_clause, where_params = e.to_sql() File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1271, in to_sql q, ps = self.__leaf_to_sql(leaf) File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1204, in __leaf_to_sql params = [field.convert_to_column(p, record=model) for p in params] File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/osv/expression.py", line 1204, in <listcomp> params = [field.convert_to_column(p, record=model) for p in params] File "/mnt/odoo-extra/runbot/static/build/03201-11-0-0d2716/odoo/fields.py", line 1154, in convert_to_column return int(value or 0) ValueError: invalid literal for int() with base 10: '/web_editor/static/src/less/web_editor.common.less' ajax.js:25:25
result http://03201-11-0-0d2716-base.bikes.runbot.it-projects.info/web/static/src/js/core/ajax.js:25
jQuery 5
then
fire
fireWith
done
callback
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.