update types risk
This commit is contained in:
parent
2e0a0d725c
commit
0d431be4fc
@ -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
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user