[FIX] Error when manually adding analytic account in the generated tax lines on an...
authorStéphane Bidoul <stephane.bidoul@acsone.eu>
Fri, 6 Jun 2014 14:51:09 +0000 (16:51 +0200)
committerStéphane Bidoul <stephane.bidoul@acsone.eu>
Fri, 11 Jul 2014 20:57:57 +0000 (22:57 +0200)
commit34706433e7483a2e2b80e4285be06102c9268ed0
treebb3ce4d71ce95cf23f4d7e764cfa453546931150
parent6cd00fb51bca1781c53f4722ca8b37187b3930d7
[FIX] 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