Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
2858 Tampilan

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
Buang

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

Jawaban Terbai

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
Buang
Penulis

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.

Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Agu 19
3317
2
Jan 25
9121
1
Okt 24
6942
2
Des 20
2863
0
Feb 20
1316