Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1935 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć

Suspect karma faking detected for the user !!

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 21
1516
1
paź 24
1953
1
mar 23
3157
0
lis 22
381
1
lip 22
2515