跳至内容
菜单
此问题已终结
1 回复
3562 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
903
1
7月 25
1145
3
7月 25
4014
3
5月 25
2049
1
7月 25
1325