Ok Button in BPartner Info is not working
Description
Environment
Attachments
1
- 26 Aug 2015, 04:39 PM
Activity
Show:
Hiep Lq August 26, 2015 at 4:40 PM
hi @Carlos Ruiz, this patch fix for two issue you report.
Carlos Ruiz August 26, 2015 at 2:10 PM
This patch solves the OK on InfoBP:
diff -r b77c54c6db3d org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java
--- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java Wed Aug 26 08:35:01 2015 -0500
+++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java Wed Aug 26 09:09:29 2015 -0500
@@ -1261,10 +1261,7 @@
* we maintain value of key, and extra value append by {@link #appendInfoColumnData(ResultSet, List, IInfoColumn[], List)}
*/
protected void updateListSelected (){
- if (!p_multipleSelection){
- return;
- }
-
+
for (int rowIndex = 0; rowIndex < contentPanel.getModel().getRowCount(); rowIndex++){
Integer keyCandidate = getColumnValue(rowIndex);
Still pending the double click on InfoProduct.
Carlos Ruiz August 26, 2015 at 2:08 PM
Double click on InfoProduct is broken too - double click must select JUST the row being double clicked - but is behaving like OK
Carlos Ruiz August 26, 2015 at 1:50 PM
Broken by:
https://bitbucket.org/idempiere/idempiere/commits/295dfb42fdc4
InfoPanel.updateListSelected is just working for multiple selection.
Steps to reproduce:
Login in https://test.idempiere.org/webui/
Create a new Sales Order or Invoice, open the Bpartner Info Window.
Select any Business partner and click the ok button.
If you double click in the business partner it works as expected.
I check the Product Info also, but that one seems to work.