diff --git a/yuthon_salary/wizard/salary_compute_wizard.py b/yuthon_salary/wizard/salary_compute_wizard.py index c089d4a01..7898715d1 100644 --- a/yuthon_salary/wizard/salary_compute_wizard.py +++ b/yuthon_salary/wizard/salary_compute_wizard.py @@ -279,10 +279,10 @@ 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)): - 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() + # 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() def _get_chinese_month(self, month): chinese_months = ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']