Files
stock-logistics-warehouse/stock_inventory/models/res_config_settings.py
DavidJForgeFlow 4dc8e6d14a [IMP] stock_inventory: new small features and ux improvements
Allow to create stock.quants making the quants smart button not invisible when quantity is equal to 0. (Removing one of the invisible conditions).

[IMP] stock_inventory: adds exclude_sublocation flag

[IMP] stock_inventory: Add flag to autocomplete adjustment when fully done.

[IMP] stock_inventory

Add company to adjustments to avoid multi-company errors. Adds information fields to tree view. Also adds 'Assign to' in stock inventory that propagates to quants. Also propagates the date field.
2024-05-13 13:07:07 +02:00

13 lines
383 B
Python

# Copyright 2024 ForgeFlow S.L. (http://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
stock_inventory_auto_complete = fields.Boolean(
related="company_id.stock_inventory_auto_complete", readonly=False
)