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