Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
One workaround is:
- connect to your server
- change into postgres user sudo su - postgres
- open psql terminal with your database (psql [database name])
write sql command:
update hr_payslip set state = 'draft';
that sets all the existing payslips into draft after that you can delete them. If you don't want to set all the payslips into draft you can add there condition:
where id=[id of the payslip you want to set into draft]
This condition has to be put before semicolon (";").