summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-08-21 15:39:16 +0200
committerToufik Benjaa <tbe@odoo.com>2018-09-05 18:36:54 +0200
commit7700bd172f790858fb4cb9e64b90c9c77d9e5b0a (patch)
tree7e64eefa1a1306ea32aaad5dace0b86053e2e072 /addons/web/static/src/js
parent0f3281e3b1dc943b81d79d2a8f82fca7b95b8186 (diff)
[FIX] mail: Avoid using default value for track fields logging
- When a tracked field is modified, a mail.message is created. When create is called its tries to fill missing values with "default values". It first tries to find the default values in the context, which may occurs. For example, modifying a tracked field on a subtask will add a key "default_parent_id" in the context, which is the parent_id of the project.task. Create will try to use "default_parent_id" for the mail.message parent_id field, which make the SQL Request invalid.
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions