[FIX] mail: restore send after commit behavior for notification emails
Previously to commit [1] notification emails were send using the after commit hook (see [2] for related code move and [3] for original code). That commit changed the parameter default value without any reason, meaning this mechanism is not used anymore. This commit fixes that behavior. [1] See commit581a74143e: code cleaning [2] See commit7a6269719f: code move [3] See commit38e181ee2c: use of post-commit hook in mail closes odoo/odoo#34681 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in: