From 753b84936ee33a0313311b66897f84e0b45dea3f Mon Sep 17 00:00:00 2001 From: Luis Ernesto Portillo Zaldivar Date: Thu, 17 Jul 2025 13:31:28 -0600 Subject: [PATCH] fix(#71): Corregir sintaxis de view_ids en acciones de dashboards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Cambiar graph_view_id y pivot_view_id por view_ids con sintaxis correcta - Usar eval con lista de tuplas según formato Odoo estándar - Resolver error 'Invalid field graph_view_id on model ir.actions.act_window' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- lims_management/views/dashboard_views.xml | 30 ++++++++++++++--------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/lims_management/views/dashboard_views.xml b/lims_management/views/dashboard_views.xml index 7c6602f..ed6e5e2 100644 --- a/lims_management/views/dashboard_views.xml +++ b/lims_management/views/dashboard_views.xml @@ -34,8 +34,9 @@ graph,pivot,tree,form [('is_lab_request', '=', True)] {'search_default_group_by_state': 1} - - +

No hay órdenes de laboratorio registradas @@ -80,8 +81,9 @@ lims.test graph,pivot,tree,form {'search_default_group_by_technician': 1, 'search_default_this_month': 1} - - +

No hay pruebas registradas @@ -126,8 +128,9 @@ graph,pivot,tree,form [('is_lab_sample', '=', True)] {'search_default_group_by_state': 1} - - +

No hay muestras registradas @@ -174,8 +177,9 @@ graph,pivot,tree,form [('test_id.state', '=', 'validated')] {'search_default_out_of_range': 1} - - +

No hay resultados fuera de rango @@ -222,8 +226,9 @@ graph,pivot,tree [('order_id.is_lab_request', '=', True), ('product_id.is_analysis', '=', True)] {'search_default_group_by_product': 1} - - +

No hay análisis registrados @@ -268,8 +273,9 @@ graph,pivot,tree [('state', '=', 'validated')] {'search_default_this_year': 1} - - +

No hay tests validados