Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2854 Vistas

Hello, I got the following error when creating an automated action for Helpdesk Tickets.

I just started to create one, but erros shows when trying to specify rules for domain (I don't know if these rules are okay, but for a test, I don't think it's the error I have been getting

Link for image: https://imgur.com/a/kfNNVuV


Error: 
Uncaught TypeError: Cannot read property 'apply' of undefined

http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:296
Rastreo de error:
TypeError: Cannot read property 'apply' of undefined
at OdooClass.normalizeArray (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:296:920)
at Class._initialize (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:707:158)
at Class.prototype. [as _initialize] (http://odoo.option.cl/web/content/14778-d83a0fb/web.assets_common.js:3816:488)
at Class._redraw (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:709:176)
at Class.setDomain (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:707:73)
at Class._render (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:953:301)
at Class.reset (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:904:353)
at http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:1332:237
at Function._.each._.forEach (http://odoo.option.cl/web/content/14778-d83a0fb/web.assets_common.js:12:558)
at Class.confirmChange (http://odoo.option.cl/web/content/23427-a6845bf/web.assets_backend.js:1332:78)


If anyone is able to help me understand the problem.

Thanks beforehand,

Rodrigo

Avatar
Descartar

How should anybody be able to help you if you do net tell us what you did?

Mejor respuesta

Hello,

If you have something like this <button name="your_function_or_action"/> in your code, you must specify the type of your button (object or action).

eg.  <button name="your_action" type="action"/> or <button name="your_function" type="object"/>

Avatar
Descartar
Autor

The thing is that we haven't touched the code, we have a partner helped us implementing but we have had some problems within implementation. Do you have any documentation to understand that or check it? like where to define it or fix it, or whatever, in most case we do use UI though.

Autor Mejor respuesta

Ermin:

Thanks for letting me know, I thought I had saved the changed yesterday, just updated the post with the error Im getting at the moment of making a new automated action.

Rodrigo

ps. forgive me for my bad english.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 19
3314
2
ene 25
9111
1
oct 24
6899
2
dic 20
2856
0
feb 20
1316