优化货位状态,以及产品显隐逻辑

This commit is contained in:
mgw
2023-07-06 15:03:35 +08:00
parent c0b7e3679b
commit 20c6a67f34
2 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ class SfLocation(models.Model):
record.location_status = '占用'
else:
record.product_id = False
record.location_status = '空闲'
# record.location_status = '空闲'
@api.depends('location_type')
def _compute_hide_what(self):