Merge PR #1274 into 14.0

Signed-off-by sebalix
This commit is contained in:
OCA-git-bot
2021-10-07 16:03:51 +00:00

View File

@@ -11,7 +11,7 @@ class Inventory(models.Model):
exclude_sublocation = fields.Boolean(
string="Exclude Sublocations",
default=False,
track_visibility="onchange",
tracking=True,
readonly=True,
states={"draft": [("readonly", False)]},
)