Skip to content

Commit

Permalink
[FIX] l10n_in_withholding: Fix missing TDS taxes
Browse files Browse the repository at this point in the history
Steps to reproduce:
1. Install `l10n_in_withholding` and `l10n_it_edi_withholding`
2. Create a new company with country `India` and load CoA
TDS taxes doesn't get created

After this commit:
We resolve the above issue. Since the
issue was caused by a typo in the method
name in `l10n_in_withholding` which had
a definition in `l10n_it_edi_withholding`

Part-of: odoo#161233
Signed-off-by: Antoine Dupuis (andu) <[email protected]>
  • Loading branch information
hamo-odoo committed Aug 16, 2024
1 parent e0d1214 commit fc80455
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def _get_in_withholding_account_account(self):
return self._parse_csv('in', 'account.account', module='l10n_in_withholding')

@template('in', 'account.tax')
def _get_it_withholding_account_tax(self):
def _get_in_withholding_account_tax(self):
tax_data = self._parse_csv('in', 'account.tax', module='l10n_in_withholding')
self._deref_account_tags('in', tax_data)
return tax_data
Expand Down

0 comments on commit fc80455

Please sign in to comment.