Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3567 Widoki

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
Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

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

Contact: info@acespritech.com
Skype: acespritech.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
908
1
lip 25
1148
3
lip 25
4018
3
maj 25
2051
1
lip 25
1327