Skip to Content
Menú
This question has been flagged
3 Respostes
2852 Vistes

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?

Best Answer

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 Best Answer

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
Related Posts Respostes Vistes Activitat
0
d’ag. 19
3313
2
de gen. 25
9106
1
d’oct. 24
6870
2
de des. 20
2853
0
de febr. 20
1316