IDEMPIERE-4833 : Impossible to display a report based on a table when no parameter (#721)
This commit is contained in:
parent
756cf807f2
commit
715bf4f856
|
@ -1888,7 +1888,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
|||
*/
|
||||
private PrintElement layoutParameter ()
|
||||
{
|
||||
if (m_query == null || !m_query.isActive())
|
||||
if (m_query == null || !m_query.isActive() || (m_query.getReportProcessQuery() != null && !m_query.getReportProcessQuery().isActive()))
|
||||
return null;
|
||||
//
|
||||
ParameterElement pe = new ParameterElement(m_query, m_printCtx, m_format.getTableFormat());
|
||||
|
|
Loading…
Reference in New Issue