Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3563 Vistas

I would like to update the quantity field whenever user select the order line

I try to update the field using the last line,

select: function() {
    $('tr.selected').removeClass('selected');
    this.$element.addClass('selected');
    this.order.selected = this.model;
    this.on_selected();
    this.order.selected.set('quantity', '123');
},

but I received this error.

TypeError: invalid 'in' operand attrs
Avatar
Descartar
Mejor respuesta

Hello,

Please find OpenERP blogs which might help you.
acespritechblog.wordpress.com

Contact: info@acespritech.com
Skype: acespritech.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 25
903
1
jul 25
1145
3
jul 25
4014
3
may 25
2049
1
jul 25
1325