优化货位状态,以及产品显隐逻辑
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user