Add validation script approval for Python-based rebuild; update CBankverbindungen entity to include contactsBankverbindung relation

This commit is contained in:
2026-01-24 00:07:47 +01:00
parent 9ca366d80f
commit 71ba417a27
2 changed files with 12 additions and 0 deletions

View File

@@ -8,6 +8,10 @@
"/^bash /var/lib/docker/volumes/vmh-espocrm_espocrm/_data/custom/scripts/check_and_rebuild\\.sh$/": {
"approve": true,
"matchCommandLine": true
},
"/^python3 custom/scripts/validate_and_rebuild\\.py 2>&1 \\| tail -50$/": {
"approve": true,
"matchCommandLine": true
}
}
}

View File

@@ -123,6 +123,14 @@
"foreign": "bankverbindungens",
"isCustom": true
},
"contactsBankverbindung": {
"type": "hasMany",
"relationName": "cBankverbindungContact",
"foreign": "cBankverbindungenContact",
"entity": "Contact",
"audited": false,
"isCustom": true
},
"createdBy": {
"type": "belongsTo",
"entity": "User"