Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
58f70387
Commit
58f70387
authored
Aug 08, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: remove all storage id from State property sheet
parent
9556a3f5
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
8 deletions
+14
-8
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Permission_view.xml
...mplateItem/portal_skins/erp5_workflow/Permission_view.xml
+1
-1
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Permission_view/my_state_permission_roles_list.xml
...rkflow/Permission_view/my_state_permission_roles_list.xml
+1
-1
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/is_selected_property.xml
...tem/portal_property_sheets/State/is_selected_property.xml
+3
-1
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/state_permission_roles_property.xml
...property_sheets/State/state_permission_roles_property.xml
+3
-1
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/state_type_property.xml
...Item/portal_property_sheets/State/state_type_property.xml
+3
-1
product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list
...p/erp5_property_sheets/bt/template_property_sheet_id_list
+1
-1
product/ERP5Workflow/Document/State.py
product/ERP5Workflow/Document/State.py
+2
-2
No files found.
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Permission_view.xml
View file @
58f70387
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
<string>
my_id
</string>
<string>
my_id
</string>
<string>
my_title
</string>
<string>
my_title
</string>
<string>
my_is_selected
</string>
<string>
my_is_selected
</string>
<string>
my_
assigned_role
_list
</string>
<string>
my_
state_permission_roles
_list
</string>
<string>
my_description
</string>
<string>
my_description
</string>
</list>
</list>
</value>
</value>
...
...
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Permission_view/my_
assigned_role
_list.xml
→
bt5/erp5_workflow/SkinTemplateItem/portal_skins/erp5_workflow/Permission_view/my_
state_permission_roles
_list.xml
View file @
58f70387
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_assigned_role
_list
</string>
</value>
<value>
<string>
state_permission_roles
_list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/is_selected_property.xml
View file @
58f70387
...
@@ -42,7 +42,9 @@
...
@@ -42,7 +42,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
storage_id
</string>
</key>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
is_selected
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/state_permission_roles_property.xml
View file @
58f70387
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
storage_id
</string>
</key>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
assigned_role_list
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
translatable
</string>
</key>
<key>
<string>
translatable
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/State/state_type_property.xml
View file @
58f70387
...
@@ -38,7 +38,9 @@
...
@@ -38,7 +38,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
storage_id
</string>
</key>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
type_list
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
product/ERP5/bootstrap/erp5_property_sheets/bt/template_property_sheet_id_list
View file @
58f70387
product/ERP5Workflow/Document/State.py
View file @
58f70387
...
@@ -52,7 +52,7 @@ class State(IdAsReferenceMixin("state_", "prefix"), XMLObject, XMLMatrix):
...
@@ -52,7 +52,7 @@ class State(IdAsReferenceMixin("state_", "prefix"), XMLObject, XMLMatrix):
isRADContent
=
1
isRADContent
=
1
erp5_permission_roles
=
{}
# { permission: [role] or (role,) }
erp5_permission_roles
=
{}
# { permission: [role] or (role,) }
default_reference
=
''
default_reference
=
''
type_list
=
()
state_type
=
()
# Declarative security
# Declarative security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareObjectProtected
(
Permissions
.
AccessContentsInformation
)
security
.
declareObjectProtected
(
Permissions
.
AccessContentsInformation
)
...
...
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