Merge pull request !3245 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-06-12 04:17:14 +00:00
committed by Gitee
@@ -232,8 +232,9 @@ class YuthonPayrollInsurances (models.Model):
if ins.company_id == '天河物管':
code = 'WGQYNJ'
formula_salary = "result = round((employee.converted/total_coefficients * conversion_factor * 0.08 * 0.5)/12, 2)"
code = 'QYNJ'
formula_salary = "result = round((employee.last_year_salary * 0.02), 0)"
else:
code = 'QYNJ'
formula_salary = "result = round((employee.last_year_salary * 0.02), 0)"
if ins.name not in sal.rule_ids.mapped('name'):
rule_list.append([0, 0, {
'name': ins.name,