コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2009 ビュー

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
1565
1
10月 24
1989
1
3月 23
3208
0
11月 22
381
1
7月 22
2569