コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
17431 ビュー

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

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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

This link will help for cancel the payslip for an employee 

アバター
破棄
最善の回答

Any other answer ???

アバター
破棄
最善の回答

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

関連投稿 返信 ビュー 活動
5
7月 20
11029
1
3月 15
6372
1
3月 15
5905
1
3月 15
6673
1
3月 16
32997