Ir al contenido
Menú
Se marcó esta pregunta

    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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 18
6354
1
may 21
3224
2
may 20
9839
1
ene 20
5079
0
mar 19
3413