コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4798 ビュー

Hello friends, i have a table column with date type and at my view once i set the domain rules it doesn't works throws exception: openerp.netsvc: ERRO:  operator doesn't exists: date ~~* unknown
LINE 1: ...n_month" WHERE (report_commission_month."in_date" ilike '2014/07'...

Below my line of xml file:
<field name="domain">[('in_date','=ilike',time.strftime('%Y/%m'))]</field>

Thank you all for some hint on how to solve this.

アバター
破棄
最善の回答

Don't need '=' in second tuple for operator.

 

    <field name="domain">[('in_date','ilike',time.strftime('%Y/%m'))]</field>

アバター
破棄
関連投稿 返信 ビュー 活動
3
6月 25
1164
1
1月 25
18024
1
1月 20
3992
1
12月 19
6441
1
12月 19
17334