diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-03-14 09:40:08 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-03-14 09:40:11 +0000 |
| commit | c68a97a255b86af03625bdfc9697e7199efa35e8 (patch) | |
| tree | c6743633e76ea37739f3cafde12138e872ac27d8 /addons/web/static/src | |
| parent | ac4ef455c4a3e1da0c09396e7bc4707c9ab92d44 (diff) | |
[FIX] mail: set message_main_attachment_id to copy=False
Create a record.
Add an attachment set as message_main_attachment_id (e.g. through log note).
Duplicate that record.
The new record has the message_main_attachment_id of the old record,
while it has no attachments.
Since attachments security is linked to the record id, we shall not copy them.
opw 1950403
closes odoo/odoo#31846
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
