Treasurers can update invalidity reason

This commit is contained in:
Yohann D'ANELLO 2020-07-29 17:42:06 +02:00
parent 750bdcb2c5
commit 4549255198
1 changed files with 39 additions and 3 deletions

View File

@ -2135,6 +2135,38 @@
"description": "Create any recurrent transaction" "description": "Create any recurrent transaction"
} }
}, },
{
"model": "permission.permission",
"pk": 133,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": true}]]",
"type": "change",
"mask": 1,
"field": "invalidity_reason",
"permanent": false,
"description": "Update invalidity reason of a club transaction if possible"
}
},
{
"model": "permission.permission",
"pk": 134,
"fields": {
"model": [
"note",
"transaction"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "invalidity_reason",
"permanent": false,
"description": "Update invalidity reason of a transaction"
}
},
{ {
"model": "permission.role", "model": "permission.role",
"pk": 1, "pk": 1,
@ -2243,7 +2275,8 @@
60, 60,
61, 61,
62, 62,
127 127,
133
] ]
} }
}, },
@ -2296,7 +2329,8 @@
71, 71,
72, 72,
73, 73,
132 132,
134
] ]
} }
}, },
@ -2438,7 +2472,9 @@
129, 129,
130, 130,
131, 131,
132 132,
133,
134
] ]
} }
}, },