Odoo Help

4

How to delete Confirmed Salary Slip?

By
Jasim
on 3/14/13, 4:26 AM 6,508 views

How can I delete or cancel a confirmed PaySlip (hr.payslip) in Openerp? There is no Cancel Option in Menus

3
Laura Jarvenpaa
On 8/26/13, 12:09 AM

One workaround is:

  1. connect to your server
  2. change into postgres user sudo su - postgres
  3. open psql terminal with your database (psql [database name])
  4. 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 (";").

0
Arunagiri
On 5/21/15, 12:37 AM

https://apps.openerp.com/apps/modules/8.0/hr_payroll_cancel

This link will help for cancel the payslip for an employee 

0

You can not delete the payslip, you can only refund it.

Well you can, if you get mass_editing http://v6apps.openerp.com/addon/8139 module got working in OE 7

Jasim
on 5/16/13, 10:16 AM
0
Raminder Pal Singh
On 6/12/13, 5:14 AM

Any other answer ???

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)

Stats

Asked: 3/14/13, 4:26 AM
Seen: 6508 times
Last updated: 12/12/16, 2:47 PM