Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2967 Vues

how to send conversation notification to user when my product quantity is zero

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
déc. 22
3385
0
nov. 19
4382
1
févr. 25
1482
4
oct. 23
3420
1
sept. 23
2631