Hello,
I am creating salary slip based on gender from payroll module. if gender is female then i want deduct 10% from basic salary. For that i have create
Condition: result = employee.gender == "female".
Computation:
Amount Type: Percentage
Percentage based on:BASIC
Quantity:1
Percentage(%): -10
But when generating pay slip above error will be shown "Wrong python condition defined for salary rule". Not understand what is wrong in my code . can any please help.
Thanks.