修改货架货位看板颜色
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user