跳至内容
菜单
此问题已终结

HI all
I have a challenge on  Condition Based on on Python Expression on Salary Rules Form

I have one variable by
worked_days.GLOBAL.number_of_days - for Public Holidays

and I want to calculate this if has quantity.

EXP:
in my calculation I paid salary according to attendance time
so if we have a public holiday we dont have attendance record but need to pay salary

accordingly, on one months maybe we dont have public holiday and one months we have
so I need one condition that this calculation works on that:

computation:
result =(contract.wage/30)*worked_days.GLOBAL.number_of_days

形象
丢弃
相关帖文 回复 查看 活动
1
10月 24
1779
1
2月 22
3527
1
7月 24
7310
0
11月 15
3814
0
3月 15
4561