Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7526 Vizualizări

Hi,

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

F.g ' Oder is Confirmed'

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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 
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 25
1067
2
nov. 24
2241
4
feb. 24
12490
1
ian. 24
1708
0
mai 23
1940