From ed339b0e2e3fd4c7df0e8885a05c0c54c73e0de9 Mon Sep 17 00:00:00 2001 From: "matthias.lotz" Date: Sat, 13 Dec 2025 14:38:42 +0100 Subject: [PATCH] feat(open_workshop_base): Erweiterte Search-View und Gruppierung MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Füge maintenance.equipment Felder zur Suche hinzu (model, partner_id, location, company_id) - Erweitere Gruppierungsoptionen (Hersteller, Techniker, Standort) - Standard-Gruppierung nach Bereich aktiviert - Dokumentation: _inherits Pattern erklärt in Feature Plan --- FEATURE_REQUEST/open_workshop_feature_plan.md | 2 +- open_workshop_base/views/machine_views.xml | 17 ++++++++++++----- open_workshop_base/views/menu_views.xml | 1 + 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/FEATURE_REQUEST/open_workshop_feature_plan.md b/FEATURE_REQUEST/open_workshop_feature_plan.md index 450c6ff..29aaf7a 100644 --- a/FEATURE_REQUEST/open_workshop_feature_plan.md +++ b/FEATURE_REQUEST/open_workshop_feature_plan.md @@ -81,7 +81,7 @@ open_workshop/ Enthält: -- ✅ `ows.machine` mit _inherits zu `maintenance.equipment` +- ✅ `ows.machine` mit _inherits zu `maintenance.equipment` (delegiert alle Felder von maintenance.equipment transparent an ows.machine) - ✅ `ows.machine.area` (Bereiche mit JSONB-Namen) - ✅ `ows.machine.product` (Nutzungsprodukte) - ✅ `ows.machine.training` (Einweisungsprodukte) diff --git a/open_workshop_base/views/machine_views.xml b/open_workshop_base/views/machine_views.xml index d05dbd6..c8fd824 100644 --- a/open_workshop_base/views/machine_views.xml +++ b/open_workshop_base/views/machine_views.xml @@ -6,20 +6,27 @@ ows.machine + + + + + + - - - + + + - + + @@ -33,7 +40,7 @@ - + diff --git a/open_workshop_base/views/menu_views.xml b/open_workshop_base/views/menu_views.xml index ee055eb..9df5aec 100644 --- a/open_workshop_base/views/menu_views.xml +++ b/open_workshop_base/views/menu_views.xml @@ -5,6 +5,7 @@ Ausrüstung ows.machine list,form + {'search_default_group_area': 1, 'group_expand': True}