تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7599 أدوات العرض

Hi,

After confirmed the sale order needs to show up the some alert.

F.g ' Oder is Confirmed'

الصورة الرمزية
إهمال
أفضل إجابة

In the end of function return, call wizard and say "Order is confirmed".

return {
'name': _('Alert'),
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'alert.message',
'target': 'new',
}
Write form view for 'alert.message'

It will show as pop up window.

الصورة الرمزية
إهمال
أفضل إجابة

Hello,

This module will help you to achieve: https://apps.odoo.com/apps/modules/11.0/web_notify/

self.env.user.notify_info('My information message')

or

self.env.user.notify_warning('My marning message')
After installing Module add this code in the function.

regards,
Silvestar 
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 25
1164
2
نوفمبر 24
2333
4
فبراير 24
12625
sale / delivery تم الحل
1
يناير 24
1811
0
مايو 23
1991