跳至内容
菜单
此问题已终结
1 回复
5380 查看

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

编写者

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 ?

最佳答案

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?

相关帖文 回复 查看 活动
2
12月 19
9266
0
11月 19
4385
1
7月 19
7100
0
7月 19
2534
1
5月 17
8798