details: https://code.openbravo.com/erp/devel/pi/rev/5ca23b222c63 changeset: 20436:5ca23b222c63 user: Shankar Balachandran <shankar.balachandran <at> openbravo.com> date: Wed May 22 12:05:58 2013 +0530 summary: Fixes Issue 23643 : Changed hqlWhereClause of product uom selector
The whereclause was comparing BaseOBObject with the current product id. Modified that to compare id with current product id. diffstat: src-db/database/sourcedata/OBUISEL_SELECTOR.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 527073d212bc -r 5ca23b222c63 src-db/database/sourcedata/OBUISEL_SELECTOR.xml --- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Tue May 21 17:30:46 2013 +0200 +++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Wed May 22 12:05:58 2013 +0530 @@ -60,7 +60,7 @@ <!--1E14C66616444E0DA8D5C5321EC9F61B--> <NAME><![CDATA[Product UOM Selector]]></NAME> <!--1E14C66616444E0DA8D5C5321EC9F61B--> <AD_REFERENCE_ID><![CDATA[101787D75B4E4D7280C75D9802FE5FB6]]></AD_REFERENCE_ID> <!--1E14C66616444E0DA8D5C5321EC9F61B--> <AD_TABLE_ID><![CDATA[800000]]></AD_TABLE_ID> -<!--1E14C66616444E0DA8D5C5321EC9F61B--> <WHERECLAUSE><![CDATA[e.product = @M_Product_ID@]]></WHERECLAUSE> +<!--1E14C66616444E0DA8D5C5321EC9F61B--> <WHERECLAUSE><![CDATA[e.product.id = @M_Product_ID@]]></WHERECLAUSE> <!--1E14C66616444E0DA8D5C5321EC9F61B--> <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID> <!--1E14C66616444E0DA8D5C5321EC9F61B--> <ISACTIVE><![CDATA[Y]]></ISACTIVE> <!--1E14C66616444E0DA8D5C5321EC9F61B--> <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE> ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
