Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3564 มุมมอง

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
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello,

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

Contact: info@acespritech.com
Skype: acespritech.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 25
903
1
ก.ค. 25
1146
3
ก.ค. 25
4014
Import/Export Excel files แก้ไขแล้ว
3
พ.ค. 25
2050
1
ก.ค. 25
1325