跳至內容
選單
此問題已被標幟
1 回覆
5400 瀏覽次數

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
9272
0
11月 19
4388
1
7月 19
7116
0
7月 19
2543
1
5月 17
8806