[FIX] point_of_sale: scaled product weren't ordered with the correct weight
bzr revid: fva@openerp.com-20130917123446-671ijt70i93p0w67
This commit is contained in:
parent
674054c97e
commit
ad6bbe490a
|
@ -542,8 +542,7 @@ function openerp_pos_screens(instance, module){ //module is instance.point_of_sa
|
|||
}
|
||||
},
|
||||
order_product: function(){
|
||||
var weight = this.pos.proxy.weighting_read_kg();
|
||||
this.pos.get('selectedOrder').addProduct(this.get_product(),{ quantity:weight });
|
||||
this.pos.get('selectedOrder').addProduct(this.get_product(),{ quantity: this.weight });
|
||||
},
|
||||
get_product_name: function(){
|
||||
var product = this.get_product();
|
||||
|
|
Loading…
Reference in New Issue