| 1 | from odoo import fields, models |
| 2 | |
| 3 | |
| 4 | class AccountTax(models.Model): |
| 5 | _inherit = "account.tax" |
| 6 | |
| 7 | l10n_tr_tax_withholding_code_id = fields.Many2one( |
| 8 | comodel_name="l10n_tr_nilvera_einvoice_extended.account.tax.code", |
| 9 | string="Withholding Reason", |
| 10 | domain="[('code_type', '=', 'withholding')]", |
| 11 | help="The reason for withholding tax.", |
| 12 | ) |