feat(#8): Implementar gestión de pruebas y resultados de laboratorio #52

Merged
luis_portillo merged 8 commits from feature/8-test-results-management into dev 2025-07-15 07:49:28 +00:00
2 changed files with 26 additions and 0 deletions
Showing only changes of commit de9102f7e0 - Show all commits

View File

@ -17,6 +17,11 @@
'category': 'Industries',
'version': '18.0.1.0.0',
'depends': ['base', 'product', 'sale'],
'assets': {
'web.assets_backend': [
'lims_management/static/src/css/lims_test.css',
],
},
'data': [
'security/lims_security.xml',
'security/ir.model.access.csv',

View File

@ -0,0 +1,21 @@
/* Estilos para pruebas de laboratorio LIMS */
/* Resaltar valores fuera de rango con decoration-danger */
.o_list_view .o_data_row td[name="value_numeric"].text-danger,
.o_list_view .o_data_row td[name="value_numeric"] .text-danger {
color: #dc3545 !important;
font-weight: bold;
}
/* Asegurar que funcione con el decoration-danger de Odoo 18 */
.o_list_renderer tbody tr td.o_list_number.text-danger,
.o_list_renderer tbody tr td .o_field_number.text-danger {
color: #dc3545 !important;
font-weight: bold;
}
/* Para campos en vista formulario también */
.o_form_sheet .o_field_widget[name="value_numeric"].text-danger input {
color: #dc3545 !important;
font-weight: bold;
}