details: https://code.openbravo.com/erp/devel/pi/rev/279d5b7c8c0c
changeset: 17629:279d5b7c8c0c
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Wed Aug 08 12:41:51 2012 +0200
summary: Related to issue 21192: Fixed bug in business partner selector filter
If a filter was set (i.e. in the business partner region), and the popup was
closed and then opened again, the filter was still applied. This has been fixed
by resetting the filters when the popup is opened.
diffstat:
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r fcbaad295f5c -r 279d5b7c8c0c
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
--- a/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java Wed Aug
08 11:25:21 2012 +0200
+++ b/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java Wed Aug
08 12:41:51 2012 +0200
@@ -58,6 +58,13 @@
VariablesSecureApp vars = new VariablesSecureApp(request);
if (vars.commandIn("DEFAULT")) {
+ // When the pop up is opened, values of the previous session must be
removed
+ vars.removeSessionValue("BusinessPartnerMultiple.contact");
+ vars.removeSessionValue("BusinessPartnerMultiple.zip");
+ vars.removeSessionValue("BusinessPartnerMultiple.provincia");
+ vars.removeSessionValue("BusinessPartnerMultiple.bpartner");
+ vars.removeSessionValue("BusinessPartnerMultiple.city");
+
String strWindowId = vars.getStringParameter("WindowID");
String strNameValue = vars.getRequestGlobalVariable("inpNameValue",
"BusinessPartnerMultiple.name");
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits