how to send conversation notification to user when my product quantity is zero
Denna fråga har flaggats
1
Besvara
4082
Vyer
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
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
dec. 22
|
4687 | ||
|
|
0
nov. 19
|
5834 | ||
|
|
1
apr. 26
|
4634 | ||
|
|
0
mars 26
|
4274 | ||
|
|
1
mars 26
|
2919 |