Commit d340b23c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update modules model_report and its ui to improve th ui.

parent 991bd8f0
......@@ -193,7 +193,7 @@ class Report(object):
Field("id_events",
"reference events",
default=dbui.UNDEF_ID,
notnull=True,
label="Event"),
Field("transform", "text"),
......
......@@ -217,6 +217,8 @@ class ReportUi(object):
language="json",
xtype="xaceeditorfield")
mdf.configure_field("id_events", emptyText=" ")
mdf.configure_field("sorters",
height=210,
hideHeader=True,
......@@ -236,13 +238,11 @@ class ReportUi(object):
mdf.merge_fields("name",
"title",
"source",
"id_events",
"definition",
title=T("General"))
mdf.merge_fields("source",
"id_events",
title=T("Source"))
mdf.merge_fields("transform",
title=T("Transform"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment