update types risk

This commit is contained in:
sinergia 2022-11-21 00:43:25 +00:00
parent 2e0a0d725c
commit 0d431be4fc
2 changed files with 4 additions and 4 deletions

View File

@ -432,7 +432,7 @@ class Maintenance(Workflow, ModelSQL, ModelView):
x = labels x = labels
y = errors y = errors
if equipment_risk == 'dosB': if equipment_risk == 'IIB':
if sum(errors) == 0: if sum(errors) == 0:
top = 1.5 top = 1.5
bottom = -1.5 bottom = -1.5

View File

@ -8,9 +8,9 @@ from trytond.exceptions import UserError
_RISK = [('n/a', "No aplíca"), _RISK = [('n/a', "No aplíca"),
('uno', 'I'), ('I', 'I'),
('dosA', 'IIA'), ('IIA', 'IIA'),
('dosB', 'IIB')] ('IIB', 'IIB')]
_USE = [('', ""), _USE = [('', ""),
('medico', 'Médico'), ('medico', 'Médico'),