mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
17 lines
426 B
Python
17 lines
426 B
Python
# Copyright 2023 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class StockLocation(models.Model):
|
|
|
|
_inherit = "stock.location"
|
|
|
|
exclude_from_immediately_usable_qty = fields.Boolean(
|
|
"Exclude from immediately usable quantity",
|
|
default=False,
|
|
index=True,
|
|
help="This property is not inherited by children locations",
|
|
)
|