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
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
Xavier Thompson
erp5
Commits
935b39f9
Commit
935b39f9
authored
Mar 11, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_project: update property sheets and domain filters
parent
43f25597
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
315 additions
and
6 deletions
+315
-6
bt5/erp5_project/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+1
-0
bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/Project.xml
...pertySheetTemplateItem/portal_property_sheets/Project.xml
+66
-0
bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/Project/forum_link_property.xml
...em/portal_property_sheets/Project/forum_link_property.xml
+143
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskDomain.py
...portal_skins/erp5_project/Base_generateStateTaskDomain.py
+1
-2
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskReportDomain.py
..._skins/erp5_project/Base_generateStateTaskReportDomain.py
+2
-2
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml
...inTemplateItem/portal_skins/erp5_project/Project_view.xml
+1
-0
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_forum_link_url_string.xml
...ns/erp5_project/Project_view/my_forum_link_url_string.xml
+96
-0
bt5/erp5_project/bt/skip_coding_style_test
bt5/erp5_project/bt/skip_coding_style_test
+0
-1
bt5/erp5_project/bt/template_portal_type_allowed_content_type_list
...project/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_project/bt/template_portal_type_property_sheet_list
bt5/erp5_project/bt/template_portal_type_property_sheet_list
+1
-0
bt5/erp5_project/bt/template_property_sheet_id_list
bt5/erp5_project/bt/template_property_sheet_id_list
+2
-1
No files found.
bt5/erp5_project/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
935b39f9
...
...
@@ -2,6 +2,7 @@
<portal_type
id=
"Project"
>
<item>
File
</item>
<item>
Image
</item>
<item>
Link
</item>
<item>
Project Line
</item>
<item>
Project Milestone
</item>
</portal_type>
...
...
bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
935b39f9
<property_sheet_list>
<portal_type
id=
"Project"
>
<item>
Codification
</item>
<item>
Project
</item>
</portal_type>
<portal_type
id=
"Project Line"
>
<item>
Amount
</item>
...
...
bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/Project.xml
0 → 100644
View file @
935b39f9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Project
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/Project/forum_link_property.xml
0 → 100644
View file @
935b39f9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Acquired Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
acquisition_sync_value
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
int
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
acquisition_depends
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
mode
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
acquisition_accessor_id
</string>
</key>
<value>
<string>
getForumLinkUrlString
</string>
</value>
</item>
<item>
<key>
<string>
acquisition_base_category
</string>
</key>
<value>
<tuple>
<string>
subordination
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
acquisition_copy_value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
acquisition_depends
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
acquisition_mask_value
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
acquisition_object_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
acquisition_portal_type
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
acquisition_sync_value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
alt_accessor_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_acquired_property_id
</string>
</key>
<value>
<tuple>
<string>
url_string
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_portal_type
</string>
</key>
<value>
<string>
python: (\'Link\',)
</string>
</value>
</item>
<item>
<key>
<string>
content_translation_acquired_property_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
The current forum link of the project
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
forum_link_property
</string>
</value>
</item>
<item>
<key>
<string>
mode
</string>
</key>
<value>
<string>
w
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Acquired Property
</string>
</value>
</item>
<item>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
forum_link
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateStateTaskDomain.py
View file @
935b39f9
return
[
context
.
Base_generateDomain
(
parent
,
'confirmed'
,
'Confirmed'
,
'simulation_state'
,
'confirmed'
),
context
.
Base_generateDomain
(
parent
,
'not_confirmed'
,
'Not Confirmed'
,
'simulation_state'
,
[
'planned'
,
'ordered'
]),
context
.
Base_generateDomain
(
parent
,
'opened'
,
'Opened'
,
'simulation_state'
,
[
'confirmed'
,
'planned'
,
'auto_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 @
935b39f9
return
[
context
.
Base_generateDomain
(
parent
,
'confirmed'
,
'Confirmed'
,
'simulation_state'
,
'confirmed'
),
context
.
Base_generateDomain
(
parent
,
'closed'
,
'Closed'
,
'simulation_state'
,
[
'delivered'
,
'stopped'
])
context
.
Base_generateDomain
(
parent
,
'confirmed'
,
'Confirmed'
,
'simulation_state'
,
[
'confirmed'
,
'stopped'
,
'started'
]
),
context
.
Base_generateDomain
(
parent
,
'closed'
,
'Closed'
,
'simulation_state'
,
[
'delivered'
])
]
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view.xml
View file @
935b39f9
...
...
@@ -112,6 +112,7 @@
<string>
my_source_title_list
</string>
<string>
my_requirement_title
</string>
<string>
my_translated_validation_state_title
</string>
<string>
my_forum_link_url_string
</string>
</list>
</value>
</item>
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_view/my_forum_link_url_string.xml
0 → 100644
View file @
935b39f9
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_forum_link_url_string
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Forum Link
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_project/bt/skip_coding_style_test
deleted
100644 → 0
View file @
43f25597
1
\ No newline at end of file
bt5/erp5_project/bt/template_portal_type_allowed_content_type_list
View file @
935b39f9
...
...
@@ -7,6 +7,7 @@ Project Milestone | Image
Project Module | Project
Project | File
Project | Image
Project | Link
Project | Project Line
Project | Project Milestone
Requirement Document | Requirement
...
...
bt5/erp5_project/bt/template_portal_type_property_sheet_list
View file @
935b39f9
...
...
@@ -4,6 +4,7 @@ Project Line | SortIndex
Project Milestone | OutcomeDescription
Project Milestone | SortIndex
Project | Codification
Project | Project
Requirement Document | Reference
Requirement | Comment
Requirement | Document
...
...
bt5/erp5_project/bt/template_property_sheet_id_list
View file @
935b39f9
TaskOrder
ProjectPreference
Project
\ 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