콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1805 화면

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

아바타
취소
베스트 답변

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.

관련 게시물 답글 화면 활동
2
6월 25
485
0
2월 24
1063
5
1월 24
6461
0
10월 23
1167
1
5월 23
2424