Files
stock-logistics-warehouse/stock_inventory/models/res_company.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

16 lines
450 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 ResCompany(models.Model):
_inherit = "res.company"
stock_inventory_auto_complete = fields.Boolean(
help="If enabled, when all the quants prepared for the adjustment "
"are done, the adjustment is automatically set to done.",
default=False,
)