Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

odoo 8 warning

By
Midhunmadhu
on 4/6/15, 6:15 AM 1,220 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?

Whats ur need exactly

Odoo
on 4/6/15, 10:01 AM

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 ?

Midhunmadhu
on 4/9/15, 2:13 AM
1

Temur

--Temur--
2896
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 4/6/15, 9:18 AM

from openerp.exceptions import Warning

...

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

...

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

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

Midhunmadhu
on 4/7/15, 1:02 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 4/6/15, 6:15 AM
Seen: 1220 times
Last updated: 4/9/15, 2:13 AM