Files
stock-logistics-warehouse/stock_change_qty_reason/models/res_config_settings.py
2019-12-23 08:53:04 +01:00

15 lines
575 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.")