1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 02:23:50 +00:00

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

View File

@ -2135,6 +2135,38 @@
"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",
"pk": 1,
@ -2243,7 +2275,8 @@
60,
61,
62,
127
127,
133
]
}
},
@ -2296,7 +2329,8 @@
71,
72,
73,
132
132,
134
]
}
},
@ -2438,7 +2472,9 @@
129,
130,
131,
132
132,
133,
134
]
}
},