[REF] mail_mail: cool and clean refactoring of the models.
authorThibault Delavallée <tde@openerp.com>
Wed, 29 Aug 2012 15:00:02 +0000 (17:00 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 29 Aug 2012 15:00:02 +0000 (17:00 +0200)
commit9b6379462be8fd0fc2ec3e3565ccb5b778e6c6bf
treedee7eb345d22a000d2f14a4e0e0de41208b40101
parent1d131bae8439fa8e0cace9f16f5deeb7052ef12f
[REF] mail_mail: cool and clean refactoring of the models.
Removed body_html and content_subtype fields. We now entirely
rely on the body field, that holds sanitized HTML.
Added a user_signature field from email_template. mail_mail.send()
is now responsible of adding the signature on emails.
mail_notification.notify() sets the user_signature flag on
emails send for notifciations.
mail_mail.send() is responsible of adding a default subject
on emails send if there is no subject on the mail.message,
and res_id and model are set.
purchase_requisition: removed an override of mail.message
schedule_with_attach.

bzr revid: tde@openerp.com-20120829150002-v8t581oesnw0rhvl
addons/mail/mail_followers.py
addons/mail/mail_mail.py
addons/mail/mail_mail_view.xml
addons/mail/mail_message.py
addons/mail/wizard/mail_compose_message.py
addons/purchase_requisition/purchase_requisition.py