Error in Hazard

Asked by learner

Dear All,
I've installed the V7 version of Management System Module provided by you.
Please let me know how to use it.
I want to create Hazard Identification and Risk Assesment.

When I tried to create an entry in :
Management System ---> Manuals---> Hazard----> from the Risk Evaluation tab, I am getting Error message as below:
 File "/home/alpha/ISO/ISO/mgmtsystem_hazard/mgmtsystem_hazard.py", line 27, in _parse_risk_formula
    f = formula.replace('A', str(a)).replace('B', str(b)).replace('C', str(c))
AttributeError: 'NoneType' object has no attribute 'replace'

Please let me know how to use it?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenERP Management System Edit question
Assignee:
Maxime Chambreuil (http://www.savoirfairelinux.com) Edit question
Solved by:
Maxime Chambreuil (http://www.savoirfairelinux.com)
Solved:
Last query:
Last reply:
Revision history for this message
Best Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) said :
#1

You need to go to the company to set the formula you want to use to compute the risk.

Settings > Companies > Companies

I will make the company field mandatory and set a default formula.

Revision history for this message
learner (learnernis) said :
#2

Thanks Maxime Chambreuil (http://www.savoirfairelinux.com), that solved my question.