Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5414 Visninger

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
Kassér

Whats ur need exactly

Forfatter

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 ?

Bedste svar

from openerp.exceptions import Warning

...

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

...

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

Avatar
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
2
dec. 19
9287
0
nov. 19
4436
1
jul. 19
7162
0
jul. 19
2598
1
maj 17
8889