Commit Graph

6 Commits (84d34e8af46cb15f2d394eb73c3760e9f3053221)

Author SHA1 Message Date
Simone Orsi b697474be5 [fix] mail_digest: move `template_id` to `digest_template_id`
When creating digest records within the context of mail composer
(and possibly other contexts) you'll have a `default_template_id`
key in the context which is going to override our safe default.

This is going to break email generation because the template
will be completely wrong and unpredictable. Lesson learned :)
2018-02-01 11:04:01 +01:00
Simone Orsi 6a76103814 [imp] mail_digest: fallback to default website
Depending on the request  might fail
nevertheless the website should be there to be found.
Fallback to search and use it if possible for digest' site name
2018-02-01 11:04:01 +01:00
Simone Orsi fffc27787e [imp] mail_digest: enforce template domain to type=qweb 2018-02-01 11:04:01 +01:00
Simone Orsi 4d21acd232 [imp] mail_digest: related state is readonly 2018-02-01 11:04:01 +01:00
Simone Orsi 1d785b42f4 [MIG][v10] mail_digest 2018-02-01 11:04:01 +01:00
Simone Orsi 600648a9f0 [add] mail_digest 2018-02-01 11:04:01 +01:00