Group taxes also per base sign

This allow to report in tax code the invoice and credit note separately.

issue8759
review282291002
This commit is contained in:
Cédric Krier committed 2019-11-01 22:50:21 +01:00
1 parent 567eb41095
commit d1b5683afa
1 file changed
+1 -1
+1 -1
View File
@@ -1059,7 +1059,7 @@ class _TaxKey(dict):
self.update(kwargs)
def _key(self):
return (self['account'], self['tax'])
return (self['account'], self['tax'], self['base'] >= 0)
def __eq__(self, other):
if isinstance(other, _TaxKey):