summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/lib/summernote/src
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2019-01-11 16:03:44 +0000
committerAdrian Torres <adt@odoo.com>2019-01-14 08:30:56 +0000
commitf3de712d7624d9385b098c6657a660fbce3c0aad (patch)
tree10227d2787ad80a1a38d4839c4944ff9772a5a36 /addons/web_editor/static/lib/summernote/src
parent90c1af1151c42114c9f3ec26f2beca73c21fa9e6 (diff)
[FIX] ir_model: add constraint on domain field
Previous to this commit, if one were to create an ir.model.field with a poorly constructed domain (read: SyntaxError), the server would properly send an error message stating that an Error occurred, however this would be too late as the registry with the bad code would have already been reloaded, this meant that the registry would be left in an unstable state (read: crashed). With this commit, a constraint on the domain is added so that we confirm that the code in the domain field is properly constructed, thus no need to reload the registry and therefore no crash. closes odoo/odoo#30157
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src')
0 files changed, 0 insertions, 0 deletions