I am facing a problem, that is when I print an invoice it tells me that there is attachment issue. I already know the solution for this problem by going to the bug icon and going to manage attachments and then removing the pdf related to it. But I have over 500 invoices and I can't go through them one by one. Is there any way to solve it once for all? Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi
Instead of deleting one by you can either use server actions or create a python script for deleting all the invoices with attachments
Otherwise simply, enable developer mode and go to General Settings->Technical Menu->Attachments
Here you can see all the attachments, filter for the attachments related to the account.move model only (Resource Model is equal to "account.move")
In the list view select all and from the Actions you can click delete button and delete.
Please check the screenshots
Hello, do you have a ready script for this problem? If yes, kindly provide me with it
I have updated the answer, for directly deleting from Attachments, please check this method
I don't think there is Attachment under technical menu upon enabling developer mode. Is there something I need to activate beside developer mode?
try login as admin
Yes, thank you so much, that helped a lot.
Hello, Can you help with this this: https://www.odoo.com/forum/help-1/search-for-warehouse-inside-products-tree-view-212457
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Feb 24
|
218 | ||
|
5
Jan 24
|
4866 | ||
|
0
Oct 23
|
334 | ||
|
1
May 23
|
1206 | ||
|
4
Dec 23
|
24438 |