Accounting: How to delete a validated invoice?
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ờ
In certain cases you might run into the issue of having a bunch of validated (test) invoices in your database even before going live with accounting. In order to clean those out, follow the next simple steps:
1. Create a server action and create the contextual action for it:
for am in records:
am.button_draft()
am.write({'name': '/'})
It should look like this:
2. Go to the invoice model and make sure all invoices you want to delete are in 'cancelled' state
3. Select said invoices > action > execute server action
4. Finally, don't forget to delete the server action once your invoices have been deleted. Indeed, this kind of action is considered as a python code execution, and if you are not on your own repository, it will generate code maintenance fees to pay every month.
If these Invoices were created by Sales Orders or Purchase Orders, be sure to check if those documents need to be cleaned up, as you could have received or delivered goods and have an accounting impact that you also want to clear.
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 | |
---|---|---|---|---|
|
1
thg 1 25
|
5268 | ||
How to manage Cash basis taxes?
Đã xử lý
|
|
1
thg 4 24
|
3889 | |
|
2
thg 8 23
|
3827 | ||
Tax codes in Luxemburg
Đã xử lý
|
|
1
thg 5 24
|
4209 | |
|
0
thg 4 21
|
13 |