The function action_payslip_done has been overwritten in module hr_payroll_account. Due to this overwrite, the function compute_sheet which creates the payslip lines was called after the creation of the entries. Then creating a refund payslip didn't create any entries. opw:785033