mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
24 lines
807 B
Python
24 lines
807 B
Python
# Copyright 2020 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
clearance_plan_journal_id = fields.Many2one(
|
|
comodel_name="account.journal",
|
|
related="company_id.clearance_plan_journal_id",
|
|
readonly=False,
|
|
string="Default Clearance Plan Journal",
|
|
help="The journal used by default on clearance plans.",
|
|
)
|
|
clearance_plan_move_line_name = fields.Char(
|
|
string="Default Clearance Plan Move Line Name",
|
|
help="Default name that will be given to new open "
|
|
"move lines created by clearance plans",
|
|
related="company_id.clearance_plan_move_line_name",
|
|
readonly=False,
|
|
)
|