[FIX] account: avoid to propagate context in send by email button
authorDenis Ledoux <dle@odoo.com>
Fri, 1 Aug 2014 08:05:56 +0000 (10:05 +0200)
committerDenis Ledoux <dle@odoo.com>
Fri, 1 Aug 2014 08:05:56 +0000 (10:05 +0200)
commita9bce700dc5f566df69e393c9e0ab4641e5ee0c3
tree6c488213647312e9df29fd35dc2e3875adbd1653
parent939076737673f67bad81c5ca886404e87dbaf3d4
[FIX] account: avoid to propagate context in send by email button

There is no reason to propagate the context in those buttons.

Besides, it leads to issues concerning the email template, rendering the wrong res_id because the active_id was wrongly propagated
addons/account/account_invoice.py