diff --git a/open_workshop_base/models/ows_models.py b/open_workshop_base/models/ows_models.py index ba89c2c..4020b6c 100644 --- a/open_workshop_base/models/ows_models.py +++ b/open_workshop_base/models/ows_models.py @@ -732,6 +732,7 @@ class OwsMachine(models.Model): ('machine_id', '=', machine.id), ], limit=1)) machine_list.append({ + 'id': machine.id, 'name': machine.name, 'has_access': has_access, }) diff --git a/open_workshop_pos/static/src/xml/ows_machine_access_list.xml b/open_workshop_pos/static/src/xml/ows_machine_access_list.xml index 1a76bfc..757e490 100644 --- a/open_workshop_pos/static/src/xml/ows_machine_access_list.xml +++ b/open_workshop_pos/static/src/xml/ows_machine_access_list.xml @@ -59,7 +59,7 @@