Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
sale_exception/models/res_config_settings.py
Executable file
13
sale_exception/models/res_config_settings.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2025 Camptocamp SA
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = "res.config.settings"
|
||||
|
||||
sale_exception_show_popup = fields.Boolean(
|
||||
related="company_id.sale_exception_show_popup",
|
||||
readonly=False,
|
||||
)
|
||||
Reference in New Issue
Block a user