diff options
| author | Raphael Collet <rco@odoo.com> | 2020-07-15 12:35:06 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2020-07-16 08:16:16 +0000 |
| commit | a21e8afda431281a4e0fa3c0c6e4076102a687be (patch) | |
| tree | 6a5ce9052d04000a063a540194ede78430a442e3 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 800fa0812a44efa8dee5915035cf62774b25d076 (diff) | |
[FIX] core: update of one2many field on new record with origin
An onchange method can remove an existing line from a one2many field of
a new record with command 2, such as:
move.line_ids = [(2, <NewId origin=42>), ...]
The processing of the command 2 above incorrectly tries to remove the
new line from the origin record, instead of the new record.
closes odoo/odoo#54545
X-original-commit: 7d138a445acbd9f2e122d9c30ca81877bae6a245
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
