I want to disable automatic mail sending after an invoice,Sale Order or purchase validation?
I've found this :http://anybox.fr/blog/openerp-6.1-supprimer-lenvoi-de-mail-automatique but that break the invoice workflow and the system still send mail.
I can't use the opt_use for this because I want to send email for marketing campaign.
I don't find where the mail is send in the source code. someone can tell me where it is or how I can disable this?
I found many question about this problem but no one answer work with me.
I work on OpenERP v7.0
EDIT: I try to use opt_out but it doesn't work at all. I don't understand how it's working.