!7880 添加功能

Merge pull request !7880 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-01-10 13:22:34 +00:00
committed by Gitee
@@ -110,7 +110,8 @@ class YuthonPayrollCommon(models.Model):
10) * -1"
if ins.name == '岗位补贴':
formula_salary = "result = employee.subsidy_amount"
if ins.name == '应补(退)税额':
formula_salary = "result = 0"
if ins.name not in sal.rule_ids.mapped('name'):
rule_list.append([0, 0, {
'name': ins.name,