Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2857 Widoki

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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"/>

Awatar
Odrzuć
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 Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 19
3317
2
sty 25
9116
1
paź 24
6936
2
gru 20
2863
0
lut 20
1316