Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2554 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 22
2919
0
нояб. 19
3908
1
февр. 25
1066
4
окт. 23
2746
1
сент. 23
2298