bank-payment/account_banking_mandate_sale_contact/models/res_config_settings.py

15 lines
441 B
Python
Raw Normal View History

2024-10-01 05:24:28 +00:00
# Copyright 2024 Alberto Martínez <alberto.martinez@sygel.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
sale_default_mandate_contact = fields.Selection(
string="Default Sale Mandate Contact",
related="company_id.sale_default_mandate_contact",
readonly=False,
)