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

I am trying to cancel a large amount of sales orders at once. I have an action that does work to confirm multiple quotes at once, so I tried to just adjust that server action to cancel, but I can't get it to work.


for record in records:

  record.action_cancel()


Anything I should adjust?

아바타
취소
작성자

We have v16. I am trying to cancel confirmed sales orders in bulk.

Niyas will probably know whether this should work in v16

베스트 답변

In v17 and v18 this is available as standard 

This will display a warning message if you try to cancel a confirmed sales order.

Maybe you are getting the same message?

아바타
취소
베스트 답변

Use try...except to catch and see the error.

아바타
취소
관련 게시물 답글 화면 활동
CANCEL QUOTATIONS 해결 완료
4
7월 24
1973
2
10월 22
3708
0
6월 21
3175
2
1월 21
10491
3
6월 17
8078