Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2134 Переглядів

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 !!

Related Posts Відповіді Переглядів Дія
1
лист. 21
1649
1
жовт. 24
2084
1
бер. 23
3365
0
лист. 22
381
1
лип. 22
2722