details: https://code.openbravo.com/erp/devel/pi/rev/48625170c6e7
changeset: 26279:48625170c6e7
user: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
date: Mon Mar 02 12:11:03 2015 -0500
summary: Fixed bug 29031: Product's selector does not work on financial's
transaction tab
The filter expression for product's search selector, was changed in order to
exclude the financial account window, from the "salesPriceList" boolean filter,
as this window fails if the "isSalesTransaction" condition is included, just
like happens for Commission's window.
Now products's selector works, when adding a transaction for a financial
account, even if without the price list version active, because the transaction
tab has not this field defined.
diffstat:
src-db/database/sourcedata/OBUISEL_SELECTOR.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d5f34315d255 -r 48625170c6e7
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Thu Mar 26 18:09:10
2015 +0100
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Mon Mar 02 12:11:03
2015 -0500
@@ -176,7 +176,7 @@
<!--2E64F551C7C4470C80C29DBA24B34A5F-->
<AD_REFERENCE_ID><![CDATA[800060]]></AD_REFERENCE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->
<AD_TABLE_ID><![CDATA[FF8080812DFFA1CF012DFFB889F40016]]></AD_TABLE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F--> <WHERECLAUSE><![CDATA[e.active='Y'
and (AD_ISORGINCLUDED(e.orgwarehouse, @AD_Org_Id@, @AD_Client_Id@)<>-1 or
(AD_ISORGINCLUDED( @AD_Org_Id@, e.orgwarehouse, @AD_Client_Id@)<>-1)) AND
e.productPrice.priceListVersion.active='Y']]></WHERECLAUSE>
-<!--2E64F551C7C4470C80C29DBA24B34A5F--> <FILTER_EXPRESSION><![CDATA[if
(OB.getParameters().get('inpcCurrencyId') && OB.getWindowId() == '207') { "
e.productPrice.priceListVersion.priceList.currency.id = '" +
OB.getParameters().get('inpcCurrencyId') + "'" } else if
(OB.getParameters().get('inpcCurrencyId')) { "
e.productPrice.priceListVersion.priceList.salesPriceList = " +
OB.isSalesTransaction() + " AND
e.productPrice.priceListVersion.priceList.currency.id = '" +
OB.getParameters().get('inpcCurrencyId') + "'" }]]></FILTER_EXPRESSION>
+<!--2E64F551C7C4470C80C29DBA24B34A5F--> <FILTER_EXPRESSION><![CDATA[if
(OB.getParameters().get('inpcCurrencyId') && (OB.getWindowId() == '207' ||
OB.getWindowId() == '94EAA455D2644E04AB25D93BE5157B6D')) { "
e.productPrice.priceListVersion.priceList.currency.id = '" +
OB.getParameters().get('inpcCurrencyId') + "'" } else if
(OB.getParameters().get('inpcCurrencyId')) { "
e.productPrice.priceListVersion.priceList.salesPriceList = " +
OB.isSalesTransaction() + " AND
e.productPrice.priceListVersion.priceList.currency.id = '" +
OB.getParameters().get('inpcCurrencyId') + "'" }]]></FILTER_EXPRESSION>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->
<OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->
<VALUEFIELD_ID><![CDATA[2CB91FE062B541ACB00D82AC69858446]]></VALUEFIELD_ID>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits