diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-11 15:29:31 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-11 15:29:31 +0100 |
| commit | f89eda9eb20380acef834379a74529e405ad8d63 (patch) | |
| tree | 004370d82b8da22c294707b5f1a2c1cb8ca5517e /addons/mail/static/src/xml/thread.xml | |
| parent | ac9e8c0700b48ffe2bfcd4d504138e1644a7bb84 (diff) | |
[FIX] base: ir.qweb: save assets attchment with correct references
Force the values of `res_id` and `res_model` when creating assets
attachments. This avoid getting wrong default values from the context.
When using the mail composer with a automatically created report (like
when sending a quotation by email), if the report asset must be saved,
the context used is the one from the mail composer, which contains a
`default_res_id` entry.
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions
