I made a function in \'hr.contract\' that generate a payslip. But this payslip is used to simulate and calculate some salaries, so after create the payslip I must delete it.