Odoo18-Base/addons/l10n_in_withholding/models/res_config_settings.py
2025-01-06 10:57:38 +07:00

15 lines
410 B
Python

from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
l10n_in_withholding_account_id = fields.Many2one(
related='company_id.l10n_in_withholding_account_id',
readonly=False,
)
l10n_in_withholding_journal_id = fields.Many2one(
related='company_id.l10n_in_withholding_journal_id',
readonly=False,
)