I want to update the reason in the chatter while clicking on Cancel button. May I know how to do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
1933
Weergaven
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 !!
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
nov. 21
|
1516 | ||
|
1
okt. 24
|
1953 | ||
|
1
mrt. 23
|
3157 | ||
|
0
nov. 22
|
381 | ||
|
1
jul. 22
|
2515 |