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

21 lines
821 B
Python

from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
l10n_ee_rounding_difference_loss_account_id = fields.Many2one(
comodel_name='account.account',
related='company_id.l10n_ee_rounding_difference_loss_account_id',
readonly=False,
string="Loss Account for VAT Rounding",
help="Account used for losses from rounding the lines of Estonian tax reports",
)
l10n_ee_rounding_difference_profit_account_id = fields.Many2one(
comodel_name='account.account',
related='company_id.l10n_ee_rounding_difference_profit_account_id',
readonly=False,
string="Profit Account for VAT Rounding",
help="Account used for profits from rounding the lines of Estonian tax reports",
)