Odoo18-Base/addons/l10n_ar_withholding/models/res_config_settings.py

17 lines
566 B
Python
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
l10n_ar_tax_base_account_id = fields.Many2one(
comodel_name='account.account',
related='company_id.l10n_ar_tax_base_account_id',
readonly=False,
domain=[('deprecated', '=', False)],
string="Tax Base Account",
help="Account that will be set on lines created to represent the tax base amounts.")