1
This commit is contained in:
@@ -37,9 +37,9 @@ class YuthonPayrollCommon(models.Model):
|
||||
salary_lv_ids = self.env["hr.payroll.structure"].search([])
|
||||
for sal in salary_lv_ids:
|
||||
rule_list = []
|
||||
formula_salary = ''
|
||||
if ins.name not in sal.rule_ids.mapped('name'):
|
||||
# 工资项公式
|
||||
formula_salary = ''
|
||||
if ins.name == '工龄':
|
||||
formula_salary = "result = int((employee.cumulative_work_month / 12) * 10)"
|
||||
if ins.name == '工会会费':
|
||||
|
||||
Reference in New Issue
Block a user