[Vtigercrm-commits] [vtiger development] #4446: PriceBook Popup Query Failure
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Nov 21 00:51:20 EST 2007
#4446: PriceBook Popup Query Failure
------------------------+---------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.3
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by prasad):
The productid is not getting sent when no product is selected, the
dependent query assumes to get the productid for showing the price book.
Here is the fix for this issue: (File: include/js/Inventory.js)
{{{
function priceBookPickList(currObj, row_no) {
var trObj=currObj.parentNode.parentNode
var
rowId=row_no;//parseInt(trObj.id.substr(trObj.id.indexOf("w")+1,trObj.id.length))
var productId=getObj("hdnProductId"+rowId).value || -1;
window.open("index.php?module=PriceBooks&action=Popup&html=Popup_picker&form=EditView&popuptype=inventory_pb&fldname=listPrice"+rowId+"&productid="+productId,"priceBookWin","width=640,height=565,resizable=0,scrollbars=0,top=150,left=200");
}
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4446#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list