diff --git a/layouts/v7/modules/Inventory/resources/Edit.js b/layouts/v7/modules/Inventory/resources/Edit.js index cc8e9e5d2d59b3f5c2ff7db16e93ae52b3ffe3a5..17b906ff8301d9dd50c21d7895151e140b73b4f3 100644 --- a/layouts/v7/modules/Inventory/resources/Edit.js +++ b/layouts/v7/modules/Inventory/resources/Edit.js @@ -1628,6 +1628,7 @@ Vtiger_Edit_Js("Inventory_Edit_Js", { params.get_url = 'getProductListPriceURL'; params.currency_id = jQuery('#currency_id option:selected').val(); params.view = 'Popup'; + params.search_params = '[[["active","e","1"]]]'; /* by default restrict to active books */ var popupInstance = Vtiger_Popup_Js.getInstance(); popupInstance.showPopup(params, 'post.LineItemPriceBookSelect.click'); },