I observe that I can select the same employee for any number of times again within the same payroll period and odoo generates those many payslips. There seems to be no check available that can avoid generation of these duplicate payslips.
Also, when running Payslip Batches, same employees can be selected any number times in different or even in the same batch. Generally, (at least in India) the payslips are generated only once per payroll period per employee.
Is there anyway this can be achieved? Anything code or ready module would work for me.