Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

odoo9c: calling action from tree's button give js error some time

By
Prince Caspion
on 10/17/16, 2:18 AM 143 views

Hello All,

Any one has idea, when calling action from tree view button it gives js error.

Here is trace back


TypeError: val is undefined
http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:811Traceback:
wrap_context@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:811:1eval_contexts/<@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:835:46iterator@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:176:16createReduce/<@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:191:14_.mixin/</_.prototype[name]@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:1484:29eval_contexts@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:823:12eval_contexts/<@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:839:25iterator@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:176:16createReduce/<@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:191:14_.mixin/</_.prototype[name]@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:1484:29eval_contexts@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:823:12eval_contexts/<@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:839:25iterator@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:176:16createReduce/<@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:191:14_.mixin/</_.prototype[name]@http://0.0.0.0:8069/web/static/lib/underscore/underscore.js:1484:29eval_contexts@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:823:12pyeval@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:941:16eval_arg@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:959:16ensure_evaluated@http://0.0.0.0:8069/web/static/src/js/framework/pyeval.js:976:19.call_button@http://0.0.0.0:8069/web/static/src/js/framework/data_model.js:66:9DataSet<.call_button@http://0.0.0.0:8069/web/static/src/js/framework/data.js:514:16View<.do_execute_action@http://0.0.0.0:8069/web/static/src/js/framework/view.js:149:20ListView<.handle_button@http://0.0.0.0:8069/web/static/src/js/views/list_view.js:730:9.do_button_action/<@http://0.0.0.0:8069/web/static/src/js/views/list_view_editable.js:310:13jQuery.Callbacks/fire@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:3119:38jQuery.Callbacks/self.add@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:3165:49.do_button_action@http://0.0.0.0:8069/web/static/src/js/views/list_view_editable.js:306:9ListView<.set_groups/<.action@http://0.0.0.0:8069/web/static/src/js/views/list_view.js:165:17jQuery.event.dispatch@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4640:50jQuery.event.add/elemData.handle@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4309:41jQuery.event.trigger@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4550:33.trigger/<@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:5260:25.each@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:383:49jQuery.prototype.each@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:136:24.trigger@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:5259:24ListView.Groups<.bind_child_events/<@http://0.0.0.0:8069/web/static/src/js/views/list_view.js:1551:13jQuery.event.dispatch@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4640:50jQuery.event.add/elemData.handle@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4309:41jQuery.event.trigger@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4550:33.trigger/<@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:5260:25.each@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:383:49jQuery.prototype.each@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:136:24.trigger@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:5259:24ListView.List<.init/this.$current<@http://0.0.0.0:8069/web/static/src/js/views/list_view.js:1097:17jQuery.event.dispatch@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4640:50jQuery.event.add/elemData.handle@http://0.0.0.0:8069/web/static/lib/jquery/jquery.js:4309:41


thanks in advance

regards,

Prince


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/17/16, 2:18 AM
Seen: 143 times
Last updated: 10/17/16, 2:18 AM