how to send conversation notification to user when my product quantity is zero
To pytanie dostało ostrzeżenie
1
Odpowiedz
4090
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
1
gru 22
|
4689 | ||
|
|
0
lis 19
|
5839 | ||
|
|
1
kwi 26
|
4634 | ||
|
|
0
mar 26
|
4280 | ||
|
|
1
mar 26
|
2923 |