[FIX] s_inventory_exclude_sublocation: fix tracking on field

This commit is contained in:
Sébastien Alix
2021-10-07 17:26:57 +02:00
parent d57fed7d04
commit b99f105af5

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)]},
)