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
y = errors
if equipment_risk == 'dosB':
if equipment_risk == 'IIB':
if sum(errors) == 0:
top = 1.5
bottom = -1.5

View File

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