From 2be613345881a157930e4e17e2b732d13d06adf7 Mon Sep 17 00:00:00 2001 From: thomasl Date: Sun, 22 Dec 2024 20:42:20 +0100 Subject: [PATCH] Update file initial.json --- apps/permission/fixtures/initial.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/apps/permission/fixtures/initial.json b/apps/permission/fixtures/initial.json index baed9a8d..ca9d8810 100644 --- a/apps/permission/fixtures/initial.json +++ b/apps/permission/fixtures/initial.json @@ -3800,6 +3800,22 @@ "description": "Voir les utilisateurs adhérents au club parent" } }, + { + "model": "permission.permission", + "pk": 242, + "fields": { + "model": [ + "note", + "transaction" + ], + "query": "[\"AND\", [{\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}}, {\"valid\": false}]]", + "type": "add", + "mask": 2, + "field": "", + "permanent": false, + "description": "Créer une transaction vers la note d'un club" + } + }, { "model": "permission.role", "pk": 1,