how to send conversation notification to user when my product quantity is zero
Diese Frage wurde gekennzeichnet
1
Antworten
4101
Ansichten
Hello Lazark,
You can use message_post() method to show notifications when user change quantity to 0 in write method. In message_post method you can add partners who are going to notified, you can add your message as well.
e.g.
record.message_post(body=body, partner_ids= record.partner_id.ids)
Hope it will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
1
Dez. 22
|
4699 | ||
|
|
0
Nov. 19
|
5841 | ||
|
|
1
Apr. 26
|
4634 | ||
|
|
0
März 26
|
4282 | ||
|
|
1
März 26
|
2932 |