修改设备布局

This commit is contained in:
qihao.gong@jikimo.com
2023-07-19 17:10:49 +08:00
parent baf13117dc
commit 9c556c5f40
4 changed files with 45 additions and 35 deletions

View File

@@ -155,6 +155,7 @@ class SfMaintenanceEquipment(models.Model):
result.append((parameter.id, name))
return result
@api.constrains('rotate_speed')
def _check_rotate_speed(self):
if self.rotate_speed <= 0: