Skip to content
Snippets Groups Projects
Commit 74061bfe authored by Prasad's avatar Prasad
Browse files

Fixed #1782: Load only active price books by default

parent 302ef907
No related branches found
No related tags found
No related merge requests found
......@@ -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');
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment