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

22 lines
833 B
Python

# -*- coding: utf-8 -*-
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
l10n_fr_rounding_difference_loss_account_id = fields.Many2one(
comodel_name='account.account',
related='company_id.l10n_fr_rounding_difference_loss_account_id',
readonly=False,
string="VAT Rounding Loss Account",
help="Account used for losses from rounding the lines of French tax reports",
)
l10n_fr_rounding_difference_profit_account_id = fields.Many2one(
comodel_name='account.account',
related='company_id.l10n_fr_rounding_difference_profit_account_id',
readonly=False,
string="VAT Rounding Profit Account",
help="Account used for profits from rounding the lines of French tax reports",
)