Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odpovědi
17053 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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 (";").

Avatar
Zrušit
Nejlepší odpověď

I am trying to delete the payslip but it says you can only refund. Not sure if the mass_editing work or not.

Avatar
Zrušit
Nejlepší odpověď

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

This link will help for cancel the payslip for an employee 

Avatar
Zrušit
Nejlepší odpověď

Any other answer ???

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
5
čvc 20
10667
1
bře 15
6032
1
bře 15
5578
1
bře 15
6282
1
bře 16
32642