Commit 8a336dc5 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_accounting: Allow Assignor manage Accounting Periods

   Fix inconsistency on guard and permissions

   Fixup the inconsistent restart/restart_action transition, that has
     Assignee/Assignor guard in am inconsistent matter.

   Allow assignor have the same permissions and guard than the assignee

   Fix up permissions on delivered state, where the Assignor had no
   permission to view/access accounting period (so deliver by assignor
   only was impossible).
parent c4876087
Pipeline #36873 failed with stage
in 0 seconds
......@@ -86,6 +86,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
......@@ -121,6 +122,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
......
......@@ -112,6 +112,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......@@ -121,6 +122,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......
......@@ -109,6 +109,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......@@ -118,6 +119,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......
......@@ -48,6 +48,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -44,6 +44,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -49,6 +49,7 @@
<tuple>
<string>Assignee</string>
<string>Owner</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -30,7 +30,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Restarts the accounting period in order to input transactions.\r\n
<value> <string>Restarts the accounting period in order to input transactions.\n
This removes existing balance transactions.</string> </value>
</item>
<item>
......@@ -49,6 +49,7 @@ This removes existing balance transactions.</string> </value>
<key> <string>guard_role</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
......
......@@ -44,6 +44,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
</tuple>
</value>
</item>
......
......@@ -48,7 +48,10 @@
<item>
<key> <string>guard_role</string> </key>
<value>
<tuple/>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
......
......@@ -45,6 +45,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -49,6 +49,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -63,6 +63,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment