summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-08-09 16:34:44 +0200
committerOlivier Dony <odo@openerp.com>2017-08-09 18:51:16 +0200
commit08b75b7bcb4506342ef3e9525dc4d3e68abfb410 (patch)
tree7f6f8efe2aecb9f7e30492b879c3b1488979e5d3 /addons/web/static/src/js/views/basic/basic_model.js
parent80ac087d6e93578b227cbb034436a0ae8c3c5df4 (diff)
[FIX] pad: do not crash during record creation
Backport of 0de067cae919937cfc5fa4cd3161d58f48d472b5 (and 9b8bc5e5a11d625a72043e2b076d99be3c24d2c4) Rev. c5bd50927441ba98ae99d56ff765111cf4f6d2f3 attempted to improve the pad sync mechanism when merging records (tasks), but failed to consider the case where the pad_url field is not set yet. This happens at create(), due to the chicken-and-egg problem with the pad URL depending on the record ID, and therefore set *after* creation. Ignoring the sync when the URL is not yet set should be enough, as the URL generation method also takes care of that first sync.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions