[MERGE] point_of_sale: fix for product packaging barcodes
bzr revid: fva@openerp.com-20130521093609-0y0z190ut9iggb0w
This commit is contained in:
@@ -204,8 +204,8 @@ function openerp_pos_db(instance, module){
|
||||
this.packagings_by_product_id[pack.product_id[0]] = [];
|
||||
}
|
||||
this.packagings_by_product_id[pack.product_id[0]].push(pack);
|
||||
if(pack.ean13){
|
||||
this.packagings_by_ean13[pack.ean13] = pack;
|
||||
if(pack.ean){
|
||||
this.packagings_by_ean13[pack.ean] = pack;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user