Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
69de1e99
Commit
69de1e99
authored
Jan 13, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support Multiple Roles definition splited by ";"
parent
ea11b54e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5Configurator/Document/PortalTypeRolesSpreadsheetConfiguratorItem.py
...or/Document/PortalTypeRolesSpreadsheetConfiguratorItem.py
+1
-1
No files found.
product/ERP5Configurator/Document/PortalTypeRolesSpreadsheetConfiguratorItem.py
View file @
69de1e99
...
...
@@ -72,8 +72,8 @@ class PortalTypeRolesSpreadsheetConfiguratorItem(ConfiguratorItemMixin, XMLObjec
#category = '\n'.join(category_list)
role_dict
=
{
'title'
:
role
.
get
(
'Name'
,
'Default'
),
'role_name_list'
:
role
.
get
(
'Role'
),
'description'
:
role
.
get
(
'Description'
,
'Configured by ERP5 Configurator'
),
'role_name_list'
:
[
x
.
strip
()
for
x
in
role
.
get
(
'Role'
,
''
).
split
(
';'
)],
'role_category_list'
:
category_list
,
'role_base_category_list'
:
role
.
get
(
'Base_Category'
,
''
),
'role_base_category_script_id'
:
role
.
get
(
'Base_Category_Script'
,
...
...
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