diff options
| author | Toufik Benjaa <tbe@odoo.com> | 2018-08-21 15:39:16 +0200 |
|---|---|---|
| committer | Toufik Benjaa <tbe@odoo.com> | 2018-09-05 18:36:54 +0200 |
| commit | 7700bd172f790858fb4cb9e64b90c9c77d9e5b0a (patch) | |
| tree | 7e64eefa1a1306ea32aaad5dace0b86053e2e072 /doc/reference | |
| parent | 0f3281e3b1dc943b81d79d2a8f82fca7b95b8186 (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 'doc/reference')
0 files changed, 0 insertions, 0 deletions
