1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_ro_saft/models/account_tax.py
2024-12-10 09:04:09 +07:00

22 lines
764 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields
class AccountTax(models.Model):
_inherit = 'account.tax'
l10n_ro_saft_tax_type_id = fields.Many2one(
comodel_name='l10n_ro_saft.tax.type',
string='Romanian SAF-T Tax Type',
help='A 3-digit number defined by ANAF to identify a type of tax in the D.406 export '
'(e.g. 300 for VAT, 150 for withholding taxes on dividends...)',
)
l10n_ro_saft_tax_code = fields.Char(
string='Romanian SAF-T Tax Code',
help='A 6-digit number defined by ANAF to precisely identify taxes in the D.406 export '
'(e.g. 310309 for domestic 19% VAT)',
size=6,
)