19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:28 +01:00
parent ff721d030e
commit 7721452493
1826 changed files with 124775 additions and 274114 deletions

View file

@ -15,27 +15,3 @@ class AccountTax(models.Model):
default=False,
help='This field is used for the comments/special code column in the KMD INF report.'
)
class AccountTaxTemplate(models.Model):
_inherit = 'account.tax.template'
l10n_ee_kmd_inf_code = fields.Selection(
selection=[
('1', 'Sale KMS §41/42'),
('2', 'Sale KMS §41^1'),
('11', 'Purchase KMS §29(4)/30/32'),
('12', 'Purchase KMS §41^1'),
],
string='KMD INF Code',
default=False,
help='This field is used for the comments/special code column in the KMD INF report.'
)
def _get_tax_vals(self, company, tax_template_to_tax):
# OVERRIDE
vals = super()._get_tax_vals(company, tax_template_to_tax)
vals.update({
'l10n_ee_kmd_inf_code': self.l10n_ee_kmd_inf_code,
})
return vals