Closed bizzappdev closed 4 years ago
Old Version: it was looping over all the products and checking/grouping all products and its barcode & barcode ids-->name
problem: it was having a problem when we have a long list of products it was slowing down the system.
New version: make a list of the current product's(the product which has been changed) barcode. and checking existing product/barcode for that.
Also fixed some test cases which was failing because on not null constraints of product_id in product.barcode.multi
product_id
product.barcode.multi
Wow! Thank you for the contribution! I review and it looks good!
thank you so much for prompt action.
With complements from @odooexperts
Old Version: it was looping over all the products and checking/grouping all products and its barcode & barcode ids-->name
problem: it was having a problem when we have a long list of products it was slowing down the system.
New version: make a list of the current product's(the product which has been changed) barcode. and checking existing product/barcode for that.
Also fixed some test cases which was failing because on not null constraints of
product_id
inproduct.barcode.multi