优化货位颜色及启用货位
This commit is contained in:
@@ -291,6 +291,10 @@ class ShelfLocation(models.Model):
|
||||
def action_location_status_disable(self):
|
||||
self.location_status = '禁用'
|
||||
|
||||
# 修改货位状态为空闲
|
||||
def action_location_status_enable(self):
|
||||
self.location_status = '空闲'
|
||||
|
||||
@api.onchange('shelf_location_id')
|
||||
def _onchange_shelf_location_id(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user