Hello team, I need assistance with extending or overriding a file in Odoo 17 POS, specifically the db.js file. I would like to modify the _product_search_string(product) function and add a new condition. Could someone provide guidance on how to achieve this? I want to include the following condition in the function:
if (product.barcodes_json) {
str += "|" + product.barcodes_json;
}
Any help or suggestions on how to implement this modification would be greatly appreciated. Thank you.