[IMP] maintenance_server_data: add active field in service.instance model
and make the active field value follow the equipement active field
This commit is contained in:
@@ -19,6 +19,7 @@ class ServiceInstance(models.Model):
|
||||
service_id = fields.Many2one('service', string='Service', required=True)
|
||||
version_id = fields.Many2one('service.version', string='Version')
|
||||
service_url = fields.Char(string='Service Url')
|
||||
active = fields.Boolean(default=True)
|
||||
|
||||
|
||||
class BackupServer(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user