Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5382 Zobrazení

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
Zrušit

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 ?

Nejlepší odpověď

from openerp.exceptions import Warning

...

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

...

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

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
2
pro 19
9269
0
lis 19
4387
1
čvc 19
7106
0
čvc 19
2539
1
kvě 17
8798