Skip to Content
Menu
This question has been flagged
1 Reply
5398 Views

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
Discard

Whats ur need exactly

Author

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
Discard
Author

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

Related Posts Replies Views Activity
2
Dec 19
9272
0
Nov 19
4388
1
Jul 19
7115
0
Jul 19
2542
1
May 17
8806