添加功能
This commit is contained in:
@@ -276,7 +276,7 @@ class SalaryComputeWizard(models.Model):
|
||||
|
||||
year = int(self.select_year)
|
||||
month = int(self.select_time)
|
||||
for rec2 in self.env['hr.payslip'].search(('is_push', '=', False)):
|
||||
for rec2 in self.env['hr.payslip'].search([('is_push', '=', False)]):
|
||||
if not self._is_employee_turnover(rec2.employee_id, year, month) and not self._is_employee_in_probation(
|
||||
rec2.employee_id, year, month):
|
||||
rec2.compute_sheet()
|
||||
|
||||
Reference in New Issue
Block a user