Merge release-7.1 into master

This commit is contained in:
Carlos Ruiz 2020-01-04 18:36:00 +01:00
commit 8544d80906
5 changed files with 51 additions and 77 deletions

87
.gitignore vendored
View File

@ -1,81 +1,26 @@
build
External Plug-in Libraries
org.eclipse.jetty.http/bin
alpn-boot.jar
.sonarlint
org.adempiere.webstore/bin
org.idempiere.hazelcast.service.config/bin
*/target/ */target/
runtime-server.product
syntax: regexp
adempiere
org.adempiere.install/lib
org.adempiere.install/bin/**
org.adempiere.ui.zk/dist
org.adempiere.ui.zk/bin/**
**/lib/*.jar **/lib/*.jar
**/seed/*.jar **/seed/*.jar
db/ddlutils/lib/*.jar /org.adempiere.ui.zk/labelapplet.jar
org.adempiere.ui.zk/labelapplet.jar /org.adempiere.extend/test.properties
lib/plugins /.metadata/
plugins/*.class /PostgreSQL/
adempiere-local.properties /Oracle/
org.adempiere.extend/test.properties /log/
org.adempiere.extend/bin/** /*.log
org.adempiere.ui/*.class /idempiere.properties
org.adempiere.ui/bin/*.css /idempiereEnv.properties
org.adempiere.pipo.handlers/*.class /hazelcast.xml
org.adempiere.pipo/*.class
org.adempiere.report.jasper.swing/*.class
org.compiere.db.oracle.provider/bin/*.class
org.compiere.db.postgresql.provider/bin/*.class
org.adempiere.ui.swing/bin/**
org.adempiere.report.jasper.fonts/bin/**
org.apache.ecs/bin/*.class
org.adempiere.replication/bin/*.class
org.adempiere.replication.server/bin/**
org.adempiere.server/bin/**
org.adempiere.pipo.legacy/bin/*.class
org.adempiere.base/bin/**
org.adempiere.base.callout/bin/*.class
org.adempiere.base.process/bin/*.class
org.adempiere.payment.processor/bin/*.class
org.adempiere.ui.swing.pluginlist/bin/*.class
org.adempiere.plugin.utils/bin/*.class
org.adempiere.webstore.servlet/bin/*.class
org.adempiere.webstore.servlet/bin/*.tld
org.adempiere.ui.zk.example/bin/*
org.adempiere.webstore.resource/bin/*
org.adempiere.webstore.resource/bin/*
targetPlatform/*
.metadata
org.apache.ecs/bin/*
keystore/*
log/*
PostgreSQL/*
Oracle/*
*.log
Adempiere.properties
idempiere.properties
AdempiereEnv.properties
idempiereEnv.properties
event.test/bin*.class
packages/*
work/*
hazelcast.xml
swingclient.product*.launch swingclient.product*.launch
server.product*.launch server.product*.launch
.class /RemoteSystemsTempFiles/
External Plug-in Libraries
.recommenders
jettyhome/ /runtime-server.product/
.recommenders/ /jettyhome/
packin
packout
RemoteSystemsTempFiles
org.idempiere.javadoc/API /org.idempiere.javadoc/API

View File

@ -0,0 +1,15 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-2924 Export to XLS limited to 65536
-- Jan 4, 2020, 4:51:45 PM CET
UPDATE AD_Form SET AccessLevel='7',Updated=TO_DATE('2020-01-04 16:51:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Form_ID=200008
;
-- Jan 4, 2020, 4:51:52 PM CET
UPDATE AD_Process SET AccessLevel='7',Updated=TO_DATE('2020-01-04 16:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200064
;
SELECT register_migration_script('202001041702_IDEMPIERE-1486.sql') FROM dual
;

View File

@ -0,0 +1,12 @@
-- IDEMPIERE-2924 Export to XLS limited to 65536
-- Jan 4, 2020, 4:51:45 PM CET
UPDATE AD_Form SET AccessLevel='7',Updated=TO_TIMESTAMP('2020-01-04 16:51:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Form_ID=200008
;
-- Jan 4, 2020, 4:51:52 PM CET
UPDATE AD_Process SET AccessLevel='7',Updated=TO_TIMESTAMP('2020-01-04 16:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200064
;
SELECT register_migration_script('202001041702_IDEMPIERE-1486.sql') FROM dual
;

View File

@ -413,7 +413,7 @@ public class Process {
{ {
CharArrayWriter wr = new CharArrayWriter(); CharArrayWriter wr = new CharArrayWriter();
ok = ReportEngineEx.createEXCEL_HTML_wr( re, m_cs.getCtx(), wr, false, re.getPrintFormat().getLanguage() ); ok = ReportEngineEx.createEXCEL_HTML_wr( re, m_cs.getCtx(), wr, false, re.getPrintFormat().getLanguage() );
file_type ="xls"; file_type ="html";
String data = wr.toString(); String data = wr.toString();
if (data!=null) if (data!=null)
r.setData(data.getBytes()); r.setData(data.getBytes());

View File

@ -6,6 +6,7 @@ import java.io.FileNotFoundException;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.io.Writer; import java.io.Writer;
import java.text.SimpleDateFormat;
import java.util.Locale; import java.util.Locale;
import java.util.Properties; import java.util.Properties;
import java.util.logging.Level; import java.util.logging.Level;
@ -29,6 +30,7 @@ import org.compiere.util.CLogger;
import org.compiere.util.DisplayType; import org.compiere.util.DisplayType;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.Language; import org.compiere.util.Language;
import org.compiere.util.Msg;
import org.compiere.util.Util; import org.compiere.util.Util;
@ -210,15 +212,15 @@ public class ReportEngineEx { //extends ReportEngine {
table1.setBorder(0).setCols(10).setCellPadding(0).setCellSpacing(2); table1.setBorder(0).setCols(10).setCellPadding(0).setCellSpacing(2);
table1.addElement( new tr().addElement(new td().setColSpan(10).addElement(new h1(re.getName())).setStyle("border:none;"))); table1.addElement( new tr().addElement(new td().setColSpan(10).addElement(new h1(re.getName())).setStyle("border:none;")));
tr tr1; tr tr1;
String tmp = "Jednostka: "; String tmp = Msg.getElement(m_ctx, "AD_Org_ID") + ": ";
MOrg o = MOrg.get(m_ctx, Env.getAD_Org_ID(m_ctx)); MOrg o = MOrg.get(m_ctx, Env.getAD_Org_ID(m_ctx));
tmp += o.getName(); tmp += o.getName();
tr1 = new tr(); tr1 = new tr();
tr1.addElement( new td().addElement( tmp ).setColSpan(10).setStyle("border:none;") ); tr1.addElement( new td().addElement( tmp ).setColSpan(10).setStyle("border:none;") );
table1.addElement( tr1 ); table1.addElement( tr1 );
java.text.DateFormat dateFormat = java.text.DateFormat.getDateInstance(java.text.DateFormat.FULL, new Locale("pl_PL")); SimpleDateFormat dateFormat = DisplayType.getDateFormat(DisplayType.Date);
String dateData = "Czas wygenerowania: "+dateFormat.format(new java.util.Date()); String dateData = Msg.getElement(m_ctx, "DateReport")+ ": "+dateFormat.format(new java.util.Date());
tr1 = new tr(); tr1 = new tr();
tr1.addElement( new td().addElement( dateData ).setColSpan(10).setStyle("border:none;") ); tr1.addElement( new td().addElement( dateData ).setColSpan(10).setStyle("border:none;") );
table1.addElement( tr1 ); table1.addElement( tr1 );