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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
b394f150
Commit
b394f150
authored
Nov 11, 2019
by
Roque
Committed by
Roque
Nov 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: new domain for documents
parent
d538c6c5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
161 additions
and
0 deletions
+161
-0
bt5/erp5_project/PathTemplateItem/portal_domains/state_document_domain.xml
...PathTemplateItem/portal_domains/state_document_domain.xml
+93
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.py
...al_skins/erp5_project/Base_generateStateDocumentDomain.py
+5
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.xml
...l_skins/erp5_project/Base_generateStateDocumentDomain.xml
+62
-0
bt5/erp5_project/bt/template_path_list
bt5/erp5_project/bt/template_path_list
+1
-0
No files found.
bt5/erp5_project/PathTemplateItem/portal_domains/state_document_domain.xml
0 → 100644
View file @
b394f150
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Domain"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
domain_generator_method_id
</string>
</key>
<value>
<string>
Base_generateStateDocumentDomain
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
state_document_domain
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Domain
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
State Document Domain
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.py
0 → 100644
View file @
b394f150
return
[
context
.
Base_generateDomain
(
parent
,
'confirmed'
,
'Confirmed'
,
'validation_state'
,
[
'shared'
,
'released'
,
'published'
,
'shared_alive'
,
'released_alive'
,
'published_alive'
]),
context
.
Base_generateDomain
(
parent
,
'not_confirmed'
,
'Not Confirmed'
,
'validation_state'
,
[
'submitted'
,
'draft'
,
'requested'
,
'assigned'
,
'translated'
,
'split'
]),
context
.
Base_generateDomain
(
parent
,
'archived_discarded'
,
'Archived/Discarded'
,
'validation_state'
,
[
'archived'
,
'deleted'
,
'cancelled'
,
'hidden'
])
]
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.xml
0 → 100644
View file @
b394f150
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
depth, parent, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_generateStateDocumentDomain
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/bt/template_path_list
View file @
b394f150
...
@@ -8,6 +8,7 @@ portal_domains/project_project_domain
...
@@ -8,6 +8,7 @@ portal_domains/project_project_domain
portal_domains/project_project_task_report_domain
portal_domains/project_project_task_report_domain
portal_domains/project_projectline_domain
portal_domains/project_projectline_domain
portal_domains/project_report_monthly_domain
portal_domains/project_report_monthly_domain
portal_domains/state_document_domain
portal_domains/state_project_domain
portal_domains/state_project_domain
portal_domains/state_task_domain
portal_domains/state_task_domain
portal_domains/state_task_report_domain
portal_domains/state_task_report_domain
...
...
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