[FIX] mail: mail template in Discuss
[FIX] mail: mail template in Discuss

When the mail composer is opened thanks to the "Send Mail" button in
Discuss, it's possible to save a mail template, but the user can't
access it anymore later on.

This is because the field `model` is by default empty in this specific
case since this is a client action. However, when saving the template,
the default value 'mail.template' is used for the `model` field.
Therefore the domain on the `template_id` field prevents the user to
find back the model he just saved.

The fix sends the `active_model` in the context with the value
'mail.message', so that the `default_get` method of
`mail.compose.message` will set the appropriate default value.

opw-677936

bplancher/odoo,microcom/odoo,dfang/odoo,bplancher/odoo,laslabs/odoo,ygol/odoo,microcom/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,laslabs/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,microcom/odoo,hip-odoo/odoo,bplancher/odoo,bplancher/odoo,storm-computers/odoo,dfang/odoo,ygol/odoo,storm-computers/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,microcom/odoo,hip-odoo/odoo,ygol/odoo,Elico-Corp/odoo_OCB,dfang/odoo,Elico-Corp/odoo_OCB,microcom/odoo,hip-odoo/odoo,laslabs/odoo,storm-computers/odoo,ygol/odoo,laslabs/odoo,storm-computers/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,bplancher/odoo,microcom/odoo,bplancher/odoo