I am using odoo v10 and want to calculate the total absences from the attendance module and deduct the fixed amount for example $100 per absence from his salary , I need someone to help me writing the python code on a salary rule get this result
FOR EXAMPLE
if the employee did not mark his attendance the salary must be deducted and he will be considered as absent.
Thanks, Hilar Andikkadavath for your help !