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

I want to update the reason in the chatter while clicking on Cancel button. May I know how to do this?

아바타
취소
베스트 답변

You can use message_post method in cancel button method.
By default odoo will update the message since the state field is moved from sale order to cancelled.
And if you want to add few more content means you can use message_post method.
see the below code for example,

message = _('Enter your messages here')
self.message_post(body=message)

Hope it will help you.

아바타
취소

Suspect karma faking detected for the user !!

관련 게시물 답글 화면 활동
1
11월 21
1649
1
10월 24
2087
1
3월 23
3365
0
11월 22
381
1
7월 22
2722