Skip to content
Snippets Groups Projects
Commit f89eda9e authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[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.
parent ac9e8c07
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment