remove workflow and replace by python code. note: hr.payslip states are messy, 4 states are defined, 3 are used and 5 exist.