Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2016 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen

Suspect karma faking detected for the user !!

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Nov. 21
1567
1
Okt. 24
2007
1
März 23
3223
0
Nov. 22
381
1
Juli 22
2580