I want to update the reason in the chatter while clicking on Cancel button. May I know how to do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
2135
화면
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 |