how to send conversation notification to user when my product quantity is zero
Cette question a été signalée
1
Répondre
4109
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
déc. 22
|
4702 | ||
|
|
0
nov. 19
|
5842 | ||
|
|
1
avr. 26
|
4638 | ||
|
|
0
mars 26
|
4296 | ||
|
|
1
mars 26
|
2932 |