I noticed an issue with ZKWebUI reports preview.
The re-query button there does not work. To reproduce do following:
1. Create a PO
2. Press Print Button
3. Keeping report window open go back to PO and change something in data
4. Go to print window which is already open
5. Press re-query button
6. Data you have changed does not affect this preview
To fix I made following changes in source code of ZkReportViewer.java:
At line 559 it is written:
iframe.invalidate();
I commented the above line at added following:
//iframe.invalidate();
cmd_report();
Now the re-query button works.
I am quite new to Adempiere and don't know if this change can cause any side effects . Someone senior please check.
Thanks.
Habib
Thanks Habib, peer reviewed, tested and integrated to branches globalqss adempiere361.
http://adempiere.hg.sourceforge.net/hgweb/adempiere/adempiere361/rev/f3fc10a6d757
Regards,
Carlos Ruiz