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
0
Merge Requests
0
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
Titouan Soulard
slapos.core
Commits
78f1845f
Commit
78f1845f
authored
Mar 22, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Sale aent create Trade Condition
parent
3e73f31f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
26 deletions
+62
-26
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_trade_condition_module.xml
...p5/LocalRolesTemplateItem/sale_trade_condition_module.xml
+13
-11
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Trade%20Condition%20Module.xml
...peRolesTemplateItem/Sale%20Trade%20Condition%20Module.xml
+16
-10
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Trade%20Condition.xml
.../PortalTypeRolesTemplateItem/Sale%20Trade%20Condition.xml
+33
-5
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_trade_condition_module.xml
View file @
78f1845f
<local_roles_item>
<local_roles_item>
<local_roles>
<local_roles>
<role
id=
'G-COMPANY'
>
<role
id=
'F-ACCOUNTING*'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-CUSTOMER'
>
<item>
Auditor
</item>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
</role>
<role
id=
'
R-MEMBER
'
>
<role
id=
'
F-SALE*
'
>
<item>
Auditor
</item>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
</role>
<role
id=
'R-SHADOW-PERSON'
>
<role
id=
'R-SHADOW-PERSON'
>
<item>
A
ssign
or
</item>
<item>
A
udit
or
</item>
</role>
</role>
</local_roles>
</local_roles>
<local_role_group_ids>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<local_role_group_id
id=
'function'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Author
</principal>
</local_role_group_id>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Assignor
</principal>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'user'
>
<principal
id=
'R-MEMBER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_id>
</local_role_group_ids>
</local_role_group_ids>
</local_roles_item>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Trade%20Condition%20Module.xml
View file @
78f1845f
<type_roles>
<type_roles>
<role
id=
'Au
thor; Au
ditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Group company
</property>
<property
id=
'title'
>
Accountant
</property>
<multi_property
id=
'categories'
>
local_role_group/
group
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/
function
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'category'
>
function/accounting*
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</role>
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Memb
er
</property>
<property
id=
'title'
>
Custom
er
</property>
<multi_property
id=
'categories'
>
local_role_group/
user
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/
function
</multi_property>
<multi_property
id=
'category'
>
role/memb
er
</multi_property>
<multi_property
id=
'category'
>
function/custom
er
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</role>
<role
id=
'A
ssign
or'
>
<role
id=
'A
udit
or'
>
<property
id=
'title'
>
Person Shadow
</property>
<property
id=
'title'
>
Person Shadow
</property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/shadow
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
</role>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Sale
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</type_roles>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Trade%20Condition.xml
View file @
78f1845f
<type_roles>
<type_roles>
<role
id=
'Assignor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Group company
</property>
<property
id=
'title'
>
Accountant
</property>
<multi_property
id=
'categories'
>
local_role_group/group
</multi_property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'category'
>
function/accounting*
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Destination Project Member
</property>
<property
id=
'condition'
>
python: context.getDestinationProject('', portal_type='Project') != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
</role>
</role>
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Person Shadow
</property>
<property
id=
'title'
>
Person Shadow
</property>
...
@@ -11,4 +19,24 @@
...
@@ -11,4 +19,24 @@
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'category'
>
role/shadow/person
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
</role>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Sale Agent
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/agent
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Sale Manager
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/manager
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Source Project Member
</property>
<property
id=
'condition'
>
python: context.getSourceProject('', portal_type='Project') != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_property>
</role>
</type_roles>
</type_roles>
\ No newline at end of file
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