details: https://code.openbravo.com/erp/devel/pi/rev/2ab32dc8dcea
changeset: 25768:2ab32dc8dcea
user: Unai Martirena <unai.martirena <at> openbravo.com>
date: Wed Jan 28 09:31:53 2015 +0100
summary: Fixes bug 28426: A product without sales price can be added to a
commision
Filter expression of Product Selector has been changed for Commission window,
to not to filter by Sales flag, displaying in this way Purchase and Sales
Products.
diffstat:
src-db/database/sourcedata/OBUISEL_SELECTOR.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 757f2add3027 -r 2ab32dc8dcea
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Tue Jan 27 19:06:57
2015 -0500
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml Wed Jan 28 09:31:53
2015 +0100
@@ -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')){ "
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') { "
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