优化产线设备资源设置新建bug
This commit is contained in:
@@ -49,7 +49,7 @@ class ProcedureEquipmentResourceSetting(models.Model):
|
|||||||
@api.depends('working_calendar_id')
|
@api.depends('working_calendar_id')
|
||||||
def _onchange_working_calendar_id(self):
|
def _onchange_working_calendar_id(self):
|
||||||
for record in self:
|
for record in self:
|
||||||
record.working_shift_ids = record.working_calendar_id.working_shift_ids
|
record.working_shift_id = record.working_calendar_id.working_shift_ids
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user