Skip to Content
Menu
This question has been flagged

    start: function () {

            var self = this;

            var model_product = new instance.web.Model('abd.abc')

            this.display_record.bind(this);

            var display = this.display_record.bind(this);

            model_product.query()

                .all().done(function (records) {

                    _(records).each(display);

                });


            $( "#project_form" ).submit(function( event ) {

                var product_id = $( "#project_select" ).val();

                event.preventDefault();

                self.query_product_spec_tree(product_id);

            });


        },

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 18
5432
1
May 21
2238
2
May 20
8531
1
Jan 20
4026
0
Mar 19
2486