Files
stock-logistics-warehouse/stock_change_qty_reason/models/res_config_settings.py
2021-12-13 10:47:18 +01:00

16 lines
576 B
Python

# Copyright 2019 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
group_qty_reason_preset = fields.Boolean(
string="Preset Change Qty Reason",
required=True,
implied_group="stock_change_qty_reason.group_qty_reason_preset",
help="Enable use of predefined Reasons to manage Inventory Adjustments"
"and Product Update Quantities Wizard.",
)