Wrong python condition defined for salary rule
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".
Amount Type: Percentage
Percentage based on:BASIC
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.