添加功能
This commit is contained in:
@@ -164,8 +164,8 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="converted"/>
|
||||
<field name="conversion_factor"/>
|
||||
<field name="total_coefficients"/>
|
||||
<field name="conversion_factor"/>
|
||||
<field name="calculation_totals"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
@@ -229,7 +229,7 @@ class YuthonPayrollInsurances (models.Model):
|
||||
code = 'GHHF'
|
||||
formula_salary = "result = round((payslip.base_salary * 0.005), 2)"
|
||||
if ins.name == '企业(职业)年金':
|
||||
if ins.company_id == '天河物管':
|
||||
if ins.company_id.name == '天河物管':
|
||||
code = 'WGQYNJ'
|
||||
formula_salary = "result = round((employee.converted/total_coefficients * conversion_factor * 0.08 * 0.5)/12, 2)"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user