[FIX] traceback raised when salary_rule_id.uom is False

Merged Felipe Carlini requested to merge 12.0-RR-63 into 12.0-stage

Closes RR-63

Merge request reports