Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
17363 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
Confirm on delete one2many line แก้ไขแล้ว
5
ก.ค. 20
10970
1
มี.ค. 15
6270
1
มี.ค. 15
5836
1
มี.ค. 15
6601
1
มี.ค. 16
32939