updated advanced pack to 3.12.0:

Reports:

    Non-aggregated columns in Grid report export.
    Normalized table mode for 2-dimensional Grid reports.
    Ability to create internal reports via the UI.
    Ability to show/hide and resize columns in the list report result view.
This commit is contained in:
2026-02-07 16:09:20 +01:00
parent 26db904407
commit f95246f99f
384 changed files with 6184 additions and 3643 deletions

View File

@@ -54,5 +54,26 @@
"phone",
"email",
"personName"
]
],
"internalReports": {
"Advanced:LeadsByLastActivity": {
"className": "Espo\\Modules\\Advanced\\Reports\\LeadsByLastActivity",
"params": [
{
"name": "team",
"type": "link",
"entity": "Team",
"labelTranslation": "Report.parameterFields.team",
"tooltip": "Report.internalParamLeadTeam"
}
],
"columns": [
"COUNT:id"
],
"entityType": "Lead",
"type": "Grid",
"depth": 2,
"paramsDefaults": {}
}
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,19 +1,19 @@
{
"controller": "advanced:controllers/report",
"controller": "modules/advanced/controllers/report",
"boolFilterList": ["onlyMy"],
"boolFilters": ["onlyMy"],
"recordViews": {
"list":"advanced:views/report/record/list",
"detail": "advanced:views/report/record/detail",
"edit": "advanced:views/report/record/edit"
"list": "modules/advanced/views/report/record/list",
"detail": "modules/advanced/views/report/record/detail",
"edit": "modules/advanced/views/report/record/edit"
},
"views": {
"list": "advanced:views/report/list",
"result": "advanced:views/report/result",
"detail": "advanced:views/report/detail"
"list": "modules/advanced/views/report/list",
"result": "modules/advanced/views/report/result",
"detail": "modules/advanced/views/report/detail"
},
"modalViews": {
"select": "advanced:views/report/modals/select-records"
"select": "modules/advanced/views/report/modals/select-records"
},
"defaultSidePanelFieldLists": {
"detail": [
@@ -32,10 +32,24 @@
"list": {
"dropdown": [
{
"name": "createJointGridReport",
"label": "Create Joint Grid Report",
"link": "#Report/create/type=JointGrid",
"acl": "create"
"acl": "create",
"handler": "modules/advanced/handlers/report/create-joint-grid-report-action",
"actionFunction": "process"
},
{
"name": "createInternalReport",
"label": "Create Internal Report",
"accessDataList": [
{
"isAdminOnly": true
}
],
"handler": "modules/advanced/handlers/report/create-internal-report-action",
"actionFunction": "process"
},
false,
{
"label": "Manage Categories",
"link": "#ReportCategory",
@@ -50,7 +64,14 @@
{
"name": "report",
"label": "Report",
"view": "advanced:views/report/record/panels/report"
"view": "modules/advanced/views/report/record/panels/report"
}
],
"edit": [
{
"name": "internalParams",
"label": "Parameters",
"view": "modules/advanced/views/report/record/panels/internal-params"
}
]
},
@@ -58,14 +79,14 @@
"grid",
"list"
],
"sidePanels":{
"sidePanels":{
"detail":[
{
"name": "emailSending",
"label": "EmailSending",
"view": "advanced:views/report/record/panels/email-sending",
"options":{
"fields":[
"view": "modules/advanced/views/report/record/panels/email-sending",
"options": {
"fields": [
"emailSendingInterval",
"emailSendingSettingWeekdays",
"emailSendingSettingDay",
@@ -84,7 +105,7 @@
"emailSendingDoNotSendEmptyReport"
],
"inlineEditDisabled": true,
"mode":"detail"
"mode": "detail"
},
"isForm": true
}
@@ -131,6 +152,39 @@
}
]
}
},
"joinedReports": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "type",
"value": "JointGrid"
}
]
}
},
"internalClassName": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "isInternal"
}
]
}
}
},
"panels": {
"internalParams": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "isInternal"
}
]
}
}
}
},

View File

@@ -50,5 +50,17 @@
}
}
},
"searchPanelDisabled": true
}
"searchPanelDisabled": true,
"relationshipPanels": {
"report": {
"selectMandatoryAttributeList": [
"internalClassName",
"columnsData",
"groupBy",
"columns",
"type",
"entityType"
]
}
}
}

View File

@@ -1,7 +1,10 @@
{
"fields": {
"internalClassName": {
"internal": true
"nonAdminReadOnly": true
},
"internalParams": {
"onlyAdmin": true
}
},
"links": {

View File

@@ -52,6 +52,9 @@
"type": "varchar",
"maxLength": 36
},
"modifiedAt": {
"type": "datetime"
},
"createdAt": {
"type": "datetime"
},
@@ -106,8 +109,8 @@
}
},
"collection": {
"sortBy": "number",
"asc": false
"orderBy": "number",
"order": "desc"
},
"indexes": {
"statusTargetTypeElementType": {

View File

@@ -13,7 +13,11 @@
"type": {
"type": "enum",
"default": "Grid",
"options": ["Grid", "List", "JointGrid"],
"options": [
"Grid",
"List",
"JointGrid"
],
"readOnlyAfterCreate": true
},
"data": {
@@ -118,14 +122,22 @@
}
},
"depth": {
"type": "int"
"type": "int",
"readOnly": true
},
"isInternal": {
"type": "bool"
"type": "bool",
"readOnly": true
},
"internalClassName": {
"type": "varchar",
"readOnly": true
"type": "enum",
"readOnlyAfterCreate": true,
"maxLength": 192,
"view": "modules/advanced/views/report/fields/internal-class-name"
},
"internalParams": {
"type": "jsonObject",
"utility": true
},
"category": {
"type": "link",
@@ -206,6 +218,15 @@
"type": "bool",
"tooltip": true
},
"tableMode": {
"type": "enum",
"options": [
"Regular",
"Normalized"
],
"default": "Regular",
"maxLength": 10
},
"joinedReports": {
"type": "linkMultiple",
"entity": "Report",
@@ -213,7 +234,8 @@
"columns": {
"label": "joinedReportLabel"
},
"view": "advanced:views/report/fields/joined-reports"
"view": "advanced:views/report/fields/joined-reports",
"inlineEditDisabled": true
},
"joinedReportLabel": {
"type": "varchar",

View File

@@ -39,6 +39,12 @@
"type": "jsonObject",
"notStorable": true
},
"internalClassName": {
"type": "foreign",
"link": "report",
"field": "internalClassName",
"utility": true
},
"order": {
"type": "int",
"minValue": 1,

View File

@@ -10,5 +10,12 @@
},
"accessControlFilterClassNameMap": {
"mandatory": "Espo\\Modules\\Advanced\\Classes\\Select\\Report\\AccessControlFilters\\Mandatory"
},
"selectAttributesDependencyMap": {
"id": [
"internalClassName",
"type",
"entityType"
]
}
}