@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user