-
-
Save osvalr/ae39fe588df255421272599cb49ee587 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
magia = defaultdict(self.env['account.tax']) | |
for i in self.tax_line_ids: | |
magia[i.tax_group_id.name] += i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment