I have a bunch of journal entries that I need to put back to draft, is there a way to do them in bulk rather than sitting here doing it by hand I was trying to show some one how to do something and they posted them and I need them put back into draft help
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ờ
Hi,
To process bulk invoices, you need to add server actions. Follow the steps below,
1- Enable developer mode.
2- Go to Settings > Technical > Server Actions
3- Add a new server action as in the image.
The Python code is
for rec in records:
rec.button_draft()
4- Go to the list view of the invoices and select all required invoices and click on the 'Reset to draft-Invoice' button from the action menu.
5- We can see that all the selected invoices have been changed to the draft state.
Hope it helps.
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ý