Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
31f3d9ac
Commit
31f3d9ac
authored
Jun 28, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: only accountant can create/update Account
parent
a0d7dd24
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
59 deletions
+23
-59
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
+3
-3
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/bank.xml
...lapos_erp5/LocalRolesTemplateItem/account_module/bank.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/capital.xml
...os_erp5/LocalRolesTemplateItem/account_module/capital.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/coll_vat.xml
...s_erp5/LocalRolesTemplateItem/account_module/coll_vat.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/equipments.xml
...erp5/LocalRolesTemplateItem/account_module/equipments.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/inventories.xml
...rp5/LocalRolesTemplateItem/account_module/inventories.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/payable.xml
...os_erp5/LocalRolesTemplateItem/account_module/payable.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/payment_to_encash.xml
...calRolesTemplateItem/account_module/payment_to_encash.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/profit_loss.xml
...rp5/LocalRolesTemplateItem/account_module/profit_loss.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/purchase.xml
...s_erp5/LocalRolesTemplateItem/account_module/purchase.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/receivable.xml
...erp5/LocalRolesTemplateItem/account_module/receivable.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/refundable_vat.xml
.../LocalRolesTemplateItem/account_module/refundable_vat.xml
+1
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/sales.xml
...apos_erp5/LocalRolesTemplateItem/account_module/sales.xml
+1
-4
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Account%20Module.xml
...pos_erp5/PortalTypeRolesTemplateItem/Account%20Module.xml
+4
-4
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Account.xml
...r/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Account.xml
+4
-4
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
...
...
@@ -10,8 +10,8 @@
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'
G-COMPANY
'
>
Auditor
</principal>
<principal
id=
'
G-COMPANY
'
>
Author
</principal>
<principal
id=
'
F-ACCOUNTING
'
>
Auditor
</principal>
<principal
id=
'
F-ACCOUNTING
'
>
Author
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/bank.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/capital.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/coll_vat.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/equipments.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/inventories.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/payable.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/payment_to_encash.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/profit_loss.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/purchase.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/receivable.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/refundable_vat.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module/sales.xml
View file @
31f3d9ac
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-ACCOUNTING
'
>
<item>
Assignor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
...
...
@@ -8,9 +8,6 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Assignor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Account%20Module.xml
View file @
31f3d9ac
<type_roles>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Group company
</property>
<
multi_property
id=
'categories'
>
local_role_group/group
</multi_
property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
<property
id=
'title'
>
Accountant
</property>
<
property
id=
'description'
>
Any accountant or accountant manager may create accounts and access accounts
</
property>
<multi_property
id=
'category'
>
function/accounting
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Person Shadow
</property>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Account.xml
View file @
31f3d9ac
<type_roles>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<
multi_property
id=
'categories'
>
local_role_group/group
</multi_
property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
<property
id=
'title'
>
Accountant
</property>
<
property
id=
'description'
>
Only the accountant can validate new accounts.
</
property>
<multi_property
id=
'category'
>
function/accounting
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Person Shadow
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment