Commit 0255fd77 authored by Laureano Kloss's avatar Laureano Kloss
Browse files

Update hr_payslip.py

parent 3755f559
......@@ -663,7 +663,7 @@ class HRPayslip(models.Model):
payslip_worked_days_obj = self.env['hr.payslip.worked_days']
payslip_input_obj = self.env['hr.payslip.input']
wd_query = "DELETE FROM hr_payslip_worked_days WHERE payslip_id=%s"
wd_query = "DELETE FROM hr_payslip_worked_days WHERE payslip_id=%s AND extra_concept_import_id IS NOT null"
cr = self.env.cr
cr.execute(wd_query, (slip.id,))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment