Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
2855 Zobrazení

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
Zrušit

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

Nejlepší odpověď

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
Zrušit
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 Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 19
3317
2
led 25
9115
1
říj 24
6929
2
pro 20
2859
0
úno 20
1316