Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1933 Weergaven

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

Avatar
Annuleer
Beste antwoord

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
Annuleer

Suspect karma faking detected for the user !!

Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 21
1516
1
okt. 24
1953
1
mrt. 23
3157
0
nov. 22
381
1
jul. 22
2515