[FIX] account: tax mapping logic was broken by 7508b7c
authorOlivier Dony <odo@openerp.com>
Tue, 28 Oct 2014 12:30:26 +0000 (13:30 +0100)
committerOlivier Dony <odo@openerp.com>
Wed, 29 Oct 2014 15:44:55 +0000 (16:44 +0100)
commit82588faa71e8da27d886ce8402841dc4985b95ff
tree9c5413fe1115b5dfdaca13df8c28982101af5753
parent25bc377b05365011ffed0658b7f4e94f85c6384a
[FIX] account: tax mapping logic was broken by 7508b7c

The original tax should not be applied
if at least one destination tax was
applied. It should only be applied if
explicitly included in target taxes.

(Re-)Fixes #2261
addons/account/partner.py