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
Labels
Merge Requests
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
a409483d
Commit
a409483d
authored
Dec 09, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: drop draft state from domains
- also in erp5_crm and erp5_forge - new milestone domain
parent
71b862ff
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
98 additions
and
6 deletions
+98
-6
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_generateStateSupportDomain.py
.../portal_skins/erp5_crm/Base_generateStateSupportDomain.py
+1
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_generateStateBugDomain.py
...em/portal_skins/erp5_forge/Base_generateStateBugDomain.py
+1
-1
bt5/erp5_project/PathTemplateItem/portal_domains/date_milestone_domain.xml
...PathTemplateItem/portal_domains/date_milestone_domain.xml
+93
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.py
...al_skins/erp5_project/Base_generateStateDocumentDomain.py
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateProjectDomain.py
...tal_skins/erp5_project/Base_generateStateProjectDomain.py
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskDomain.py
...portal_skins/erp5_project/Base_generateStateTaskDomain.py
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskReportDomain.py
..._skins/erp5_project/Base_generateStateTaskReportDomain.py
+0
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_generateStateSupportDomain.py
View file @
a409483d
return
[
context
.
Base_generateDomain
(
parent
,
'validated'
,
'Validated'
,
'simulation_state'
,
'validated'
),
context
.
Base_generateDomain
(
parent
,
'not_validated'
,
'Not Validated'
,
'simulation_state'
,
[
'submitted'
,
'suspended'
,
'
draft'
,
'
invalidated'
]),
context
.
Base_generateDomain
(
parent
,
'not_validated'
,
'Not Validated'
,
'simulation_state'
,
[
'submitted'
,
'suspended'
,
'invalidated'
]),
context
.
Base_generateDomain
(
parent
,
'cancelled'
,
'Cancelled'
,
'simulation_state'
,
[
'cancelled'
,
'deleted'
])
]
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_generateStateBugDomain.py
View file @
a409483d
return
[
context
.
Base_generateDomain
(
parent
,
'started'
,
'Open'
,
'simulation_state'
,
[
'confirmed'
,
'ready'
]),
context
.
Base_generateDomain
(
parent
,
'closed'
,
'Solved/Closed'
,
'simulation_state'
,
[
'delivered'
,
'stopped'
]),
context
.
Base_generateDomain
(
parent
,
'not_started'
,
'
Not Confirmed'
,
'simulation_state'
,
[
'draft'
,
'cancelled'
])
context
.
Base_generateDomain
(
parent
,
'not_started'
,
'
Cancelled'
,
'simulation_state'
,
[
'cancelled'
])
]
bt5/erp5_project/PathTemplateItem/portal_domains/date_milestone_domain.xml
0 → 100644
View file @
a409483d
<?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_generateDateMilestoneDomain
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
date_milestone_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>
Date Milestone Domain
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateDocumentDomain.py
View file @
a409483d
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
,
'not_confirmed'
,
'Not Confirmed'
,
'validation_state'
,
[
'submitted'
,
'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_generateStateProjectDomain.py
View file @
a409483d
return
[
context
.
Base_generateDomain
(
parent
,
'started'
,
'Started'
,
'validation_state'
,
'validated'
),
context
.
Base_generateDomain
(
parent
,
'not_started'
,
'Not Started'
,
'validation_state'
,
[
'
draft'
,
'
invalidated'
,
'suspended'
])
context
.
Base_generateDomain
(
parent
,
'not_started'
,
'Not Started'
,
'validation_state'
,
[
'invalidated'
,
'suspended'
])
]
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskDomain.py
View file @
a409483d
return
[
context
.
Base_generateDomain
(
parent
,
'confirmed'
,
'Confirmed'
,
'simulation_state'
,
'confirmed'
),
context
.
Base_generateDomain
(
parent
,
'not_confirmed'
,
'Not Confirmed'
,
'simulation_state'
,
[
'planned'
,
'ordered'
,
'draft'
]),
context
.
Base_generateDomain
(
parent
,
'not_confirmed'
,
'Not Confirmed'
,
'simulation_state'
,
[
'planned'
,
'ordered'
]),
context
.
Base_generateDomain
(
parent
,
'cancelled'
,
'Cancelled'
,
'simulation_state'
,
[
'cancelled'
,
'deleted'
])
]
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskReportDomain.py
View file @
a409483d
return
[
context
.
Base_generateDomain
(
parent
,
'started'
,
'Confirmed'
,
'simulation_state'
,
'confirmed'
),
context
.
Base_generateDomain
(
parent
,
'not_started'
,
'Not Confirmed'
,
'simulation_state'
,
'draft'
),
context
.
Base_generateDomain
(
parent
,
'closed'
,
'Closed'
,
'simulation_state'
,
[
'delivered'
,
'stopped'
])
]
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