[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:
Stéphan Sainléger
2026-02-26 15:37:28 +01:00
parent 5b0f220834
commit 00a97e876c
2 changed files with 9 additions and 0 deletions

View File

@@ -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):