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

Hi

I have set a warning on backend of odoo while I update it from website side can we bring that warning on website side?

Imagine profil
Abandonează

Whats ur need exactly

Autor

I have created one web page I need to check one condition and if it fails I need a warning on webiste side actually I have put a constraint in odoo backend can we reproduce same pop up on website ?

Cel mai bun răspuns

from openerp.exceptions import Warning

...

raise Warning( _( 'Warning Message.' ) )

...

-it normally shows popup warning at client side, you're about something else?

Imagine profil
Abandonează
Autor

Hi Temur thanks for your reply. Can we use this warning for website side?

Related Posts Răspunsuri Vizualizări Activitate
2
dec. 19
9270
0
nov. 19
4388
1
iul. 19
7110
0
iul. 19
2540
1
mai 17
8798