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 (";").
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/14/13, 4:26 AM|
|Seen: 4990 times|
|Last updated: 11/12/16, 7:28 AM|