IDEMPIERE-2479:Printformat, Surpress Repeats doesnt works for HTML and XLS

let css from report.css overrider style customize from print format
This commit is contained in:
hieplq 2015-07-13 02:57:44 +07:00
parent fdf07190b9
commit 3594463fd4
1 changed files with 1 additions and 1 deletions

View File

@ -776,6 +776,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
doc.getHtml().setNeedClosingTag(false); doc.getHtml().setNeedClosingTag(false);
doc.getBody().setNeedClosingTag(false); doc.getBody().setNeedClosingTag(false);
doc.appendBody(table); doc.appendBody(table);
appendInlineCss (doc);
if (extension != null && extension.getStyleURL() != null) if (extension != null && extension.getStyleURL() != null)
{ {
// maybe cache style content with key is path // maybe cache style content with key is path
@ -797,7 +798,6 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
doc.appendHead(jslink); doc.appendHead(jslink);
} }
appendInlineCss (doc);
if (extension != null && !isExport){ if (extension != null && !isExport){
extension.setWebAttribute(doc.getBody()); extension.setWebAttribute(doc.getBody());
} }