How can I delete or cancel a confirmed PaySlip (hr.payslip) in Openerp? There is no Cancel Option in Menus
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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 (";").
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Confirm on delete one2many line
Đã xử lý
|
|
5
thg 7 20
|
10828 | |
|
1
thg 3 15
|
6134 | ||
|
1
thg 3 15
|
5734 | ||
|
1
thg 3 15
|
6452 | ||
|
1
thg 3 16
|
32772 |