İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1901 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç

Suspect karma faking detected for the user !!

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 21
1505
1
Eki 24
1934
1
Mar 23
3147
0
Kas 22
381
1
Tem 22
2506