修改货架货位看板颜色

This commit is contained in:
qihao.gong@jikimo.com
2024-01-25 17:36:34 +08:00
parent fc7c66c615
commit 6461e3a423
2 changed files with 5 additions and 5 deletions

View File

@@ -79,9 +79,9 @@ td.o_required_modifier {
}
.oe_kanban_card.kanban_color_1 {
background-color: #27FEA9 !important;
background-color: #fff !important;
opacity: 0.7;
color: #fff;
color: #777;
}
.oe_kanban_card.kanban_color_3 {

View File

@@ -238,8 +238,8 @@ class ShelfLocation(models.Model):
record.storage_time = datetime.datetime.now()
if record.location_status == '空闲':
record.storage_time = False
else:
pass
if record.location_status == '禁用':
record.storage_time = False
name = fields.Char('名称', required=True, size=20)
barcode = fields.Char('编码', copy=False, size=15)
@@ -309,7 +309,7 @@ class ShelfLocation(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):