Skip to Content
Menú
This question has been flagged
1 Respondre
5377 Vistes

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?

Avatar
Descartar

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 ?

Best Answer

from openerp.exceptions import Warning

...

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

...

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

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
2
de des. 19
9266
0
de nov. 19
4385
1
de jul. 19
7099
0
de jul. 19
2533
1
de maig 17
8798