[FIX] account: backport of 12a39db
authorStéphane Bidoul <stephane.bidoul@acsone.eu>
Mon, 23 Jun 2014 15:23:32 +0000 (17:23 +0200)
committerMartin Trigaux <mat@odoo.com>
Tue, 4 Nov 2014 10:29:00 +0000 (11:29 +0100)
commit18b7b28bc1ee676a8d245f50821d4a9aeb844158
treeb9fab3126c5329ee458fd17c47ad5c32580db383
parentab797f0cd8f76be232fcd918eafa52b847102504
[FIX] account: backport of 12a39db

[FIX] account: Preserve analytic account on tax lines which are on same general account as invoice line

After careful analysis, I'm now convinced it is a good thing to preserve
the analytic account on taxes line which have the same general account
as the invoice line.

This is the best default case and will save time for users,
while leaving the flexibility to adapt the analytic account on
taxes manually.
addons/account/account_invoice.py