Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5384 Vues

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
Ignorer

Whats ur need exactly

Auteur

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 ?

Meilleure réponse

from openerp.exceptions import Warning

...

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

...

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

Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
2
déc. 19
9270
0
nov. 19
4387
1
juil. 19
7107
0
juil. 19
2539
1
mai 17
8798