Files
enterprise-addons/l10n_fr_reports/models/res_config_settings.py
T

23 lines
834 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="Tax 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="Tax Rounding Profit Account",
help="Account used for profits from rounding the lines of French tax reports",
)