[FIX] account: backport of 3470643
authorStéphane Bidoul <stephane.bidoul@acsone.eu>
Fri, 6 Jun 2014 14:51:09 +0000 (16:51 +0200)
committerMartin Trigaux <mat@odoo.com>
Tue, 4 Nov 2014 10:28:10 +0000 (11:28 +0100)
commitab797f0cd8f76be232fcd918eafa52b847102504
treec5077a2433e8327613b71c1b0bf54abb8bf179c4
parentd115ef9b49dd2bc494cd13f2aa448965e8af08d1
[FIX] account: backport of 3470643

[FIX] account: Error when manually adding analytic account in the generated tax lines on an invoice

fixes #374
fixes https://bugs.launchpad.net/ocb-addons/+bug/1084822

The fix considers invoice tax lines with different analytic account
are equivalent for the purpose of checking if the list of tax line
is complete.

Caveat, this changes the structure of keys in the dictionary
returned by account.invoice.tax's compute method, I suppose this
is ok for the master branch.
addons/account/account_invoice.py