I need to generate a report from \'hr.payslip\' but after generated, I got to delete the payslip record. But when I try to delete record before returnin the report, it gives