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

hello I get this error when using ilike, I do not know what may be happening.
your help please.

the lines that generate the error:

<xpath expr="//field[@name='invoice_line_ids']/tree" position="inside"> 

 <field name="name" invisible="1"/>

 <field name="nro_anticipo" attrs="{'invisible':[('name','ilike','anticip')]}" />            

 </xpath>

error

Uncaught TypeError: fieldValue.indexOf is not a function
http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:295
Rastreo de error:
TypeError: fieldValue.indexOf is not a function
    at Class.compute (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:295:618)
    at Class.compute (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:295:967)
    at evalModifier (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1191:91)
    at Class._evalModifiers (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1192:46)
    at http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1250:300
    at Function._.each._.forEach (http://192.168.99.100:8011/web/content/505-bd43684/web.assets_common.js:12:558)
    at http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1250:93
    at Function._.each._.forEach (http://192.168.99.100:8011/web/content/505-bd43684/web.assets_common.js:12:558)
    at Class._isX2ManyValid (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1249:603)
    at Array.<anonymous> (http://192.168.99.100:8011/web/content/792-5f2a3df/web.assets_backend.js:1158:230)


アバター
破棄
最善の回答

Hello @giancarlo,

We suggest you to use '=' operator instead of ilike. '=' operator works as a =ilike operator.
because Some operators like "ilike, =ilike, like, =like, not ilike,not like" are not supported in "attrs" parameter.


Regards,





Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

アバター
破棄
関連投稿 返信 ビュー 活動
2
8月 25
3404
1
7月 25
1570
1
8月 25
1152
0
5月 25
1900
2
4月 25
4187