Created
May 29, 2018 13:37
-
-
Save W360S/a22089700247401223bcc44edacd4776 to your computer and use it in GitHub Desktop.
odoo error update base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-05-29 13:36:14,846 7783 ERROR std.wcloud.vn odoo.modules.registry: Failed to load registry | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 744, in parse | |
self._tags[rec.tag](rec, de, mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 438, in _tag_act_window | |
id = self.env['ir.model.data']._update('ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode) | |
File "/home/en-addons/addons/base/ir/ir_model.py", line 1430, in _update | |
record.write(values) | |
File "/home/en-addons/addons/base/ir/ir_actions.py", line 54, in write | |
res = super(IrActions, self).write(vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3090, in write | |
self._write(old_vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3166, in _write | |
self._check_selection_field_value(name, val) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2104, in _check_selection_field_value | |
field.convert_to_cache(value, self) | |
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1807, in convert_to_cache | |
raise ValueError("Wrong value for %s: %r" % (self, value)) | |
ValueError: Wrong value for ir.actions.act_window.binding_type: 'action_form_only' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 85, in new | |
odoo.modules.load_modules(registry._db, force_demo, status, update_module) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 339, in load_modules | |
force, status, report, loaded_modules, update_module) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules | |
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph | |
_load_data(cr, module_name, idref, mode, kind='data') | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 94, in _load_data | |
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 791, in convert_file | |
convert_xml_import(cr, module, fp, idref, mode, noupdate, report) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 852, in convert_xml_import | |
obj.parse(doc.getroot(), mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 751, in parse | |
exc_info[2] | |
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise | |
raise value.with_traceback(tb) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 744, in parse | |
self._tags[rec.tag](rec, de, mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 438, in _tag_act_window | |
id = self.env['ir.model.data']._update('ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode) | |
File "/home/en-addons/addons/base/ir/ir_model.py", line 1430, in _update | |
record.write(values) | |
File "/home/en-addons/addons/base/ir/ir_actions.py", line 54, in write | |
res = super(IrActions, self).write(vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3090, in write | |
self._write(old_vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3166, in _write | |
self._check_selection_field_value(name, val) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2104, in _check_selection_field_value | |
field.convert_to_cache(value, self) | |
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1807, in convert_to_cache | |
raise ValueError("Wrong value for %s: %r" % (self, value)) | |
odoo.tools.convert.ParseError: "Wrong value for ir.actions.act_window.binding_type: 'action_form_only'" while parsing /home/en-addons/addons/resource/views/resource_views.xml:172, near | |
<act_window id="resource_calendar_closing_days" name="Closing Days" res_model="resource.calendar.leaves" src_model="resource.calendar" view_mode="calendar,tree,form" context="{'default_calendar_id': active_id}" domain="[('calendar_id','=',active_id), ('resource_id','=',False)]"/> | |
2018-05-29 13:36:14,850 7783 ERROR std.wcloud.vn odoo.http: Exception during JSON request handling. | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 744, in parse | |
self._tags[rec.tag](rec, de, mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 438, in _tag_act_window | |
id = self.env['ir.model.data']._update('ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode) | |
File "/home/en-addons/addons/base/ir/ir_model.py", line 1430, in _update | |
record.write(values) | |
File "/home/en-addons/addons/base/ir/ir_actions.py", line 54, in write | |
res = super(IrActions, self).write(vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3090, in write | |
self._write(old_vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3166, in _write | |
self._check_selection_field_value(name, val) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2104, in _check_selection_field_value | |
field.convert_to_cache(value, self) | |
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1807, in convert_to_cache | |
raise ValueError("Wrong value for %s: %r" % (self, value)) | |
ValueError: Wrong value for ir.actions.act_window.binding_type: 'action_form_only' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/odoo/http.py", line 650, 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 87, in reraise | |
raise value | |
File "/usr/lib/python3/dist-packages/odoo/http.py", line 692, in dispatch | |
result = self._call_function(**self.params) | |
File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in _call_function | |
return checked_call(self.db, *args, **kwargs) | |
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper | |
return f(dbname, *args, **kwargs) | |
File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call | |
result = self.endpoint(*a, **kw) | |
File "/usr/lib/python3/dist-packages/odoo/http.py", line 936, 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 "/home/en-addons/addons/web/controllers/main.py", line 934, in call_button | |
action = self._call_kw(model, method, args, {}) | |
File "/home/en-addons/addons/web/controllers/main.py", line 922, in _call_kw | |
return call_kw(request.env[model], method, args, kwargs) | |
File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw | |
return call_kw_multi(method, model, args, kwargs) | |
File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi | |
result = method(recs, *args, **kwargs) | |
File "<decorator-gen-46>", line 2, in button_immediate_upgrade | |
File "/home/en-addons/addons/base/module/module.py", line 71, in check_and_log | |
return method(self, *args, **kwargs) | |
File "/home/en-addons/addons/base/module/module.py", line 602, in button_immediate_upgrade | |
return self._button_immediate_function(type(self).button_upgrade) | |
File "/home/en-addons/addons/base/module/module.py", line 541, in _button_immediate_function | |
modules.registry.Registry.new(self._cr.dbname, update_module=True) | |
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 85, in new | |
odoo.modules.load_modules(registry._db, force_demo, status, update_module) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 339, in load_modules | |
force, status, report, loaded_modules, update_module) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 242, in load_marked_modules | |
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 156, in load_module_graph | |
_load_data(cr, module_name, idref, mode, kind='data') | |
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 94, in _load_data | |
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 791, in convert_file | |
convert_xml_import(cr, module, fp, idref, mode, noupdate, report) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 852, in convert_xml_import | |
obj.parse(doc.getroot(), mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 751, in parse | |
exc_info[2] | |
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 86, in reraise | |
raise value.with_traceback(tb) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 744, in parse | |
self._tags[rec.tag](rec, de, mode=mode) | |
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 438, in _tag_act_window | |
id = self.env['ir.model.data']._update('ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode) | |
File "/home/en-addons/addons/base/ir/ir_model.py", line 1430, in _update | |
record.write(values) | |
File "/home/en-addons/addons/base/ir/ir_actions.py", line 54, in write | |
res = super(IrActions, self).write(vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3090, in write | |
self._write(old_vals) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3166, in _write | |
self._check_selection_field_value(name, val) | |
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2104, in _check_selection_field_value | |
field.convert_to_cache(value, self) | |
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1807, in convert_to_cache | |
raise ValueError("Wrong value for %s: %r" % (self, value)) | |
odoo.tools.convert.ParseError: "Wrong value for ir.actions.act_window.binding_type: 'action_form_only'" while parsing /home/en-addons/addons/resource/views/resource_views.xml:172, near | |
<act_window id="resource_calendar_closing_days" name="Closing Days" res_model="resource.calendar.leaves" src_model="resource.calendar" view_mode="calendar,tree,form" context="{'default_calendar_id': active_id}" domain="[('calendar_id','=',active_id), ('resource_id','=',False)]"/> | |
2018-05-29 13:36:14,861 7783 INFO std.wcloud.vn odoo.modules.loading: loading 1 modules... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment