Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4282 Vues

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)


Avatar
Ignorer
Meilleure réponse

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

   

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
août 25
3404
1
juil. 25
1570
1
août 25
1152
0
mai 25
1900
2
avr. 25
4187