Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4744 Tampilan

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.

Avatar
Buang
Jawaban Terbai

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

 

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Jun 25
1026
1
Jan 25
17914
1
Jan 20
3880
1
Des 19
6333
1
Des 19
17251