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
Aurélien Vermylen
erp5
Commits
c961dde4
Commit
c961dde4
authored
Apr 29, 2013
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve fields to delegate everything and reuse fields from Base_viewCRMFieldLibrary
parent
f11b1a2a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
171 deletions
+37
-171
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_destination_title.xml
...viewEventPath/my_default_event_path_destination_title.xml
+7
-28
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_source_title.xml
...aign_viewEventPath/my_default_event_path_source_title.xml
+7
-53
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_title.xml
...rm/Campaign_viewEventPath/my_default_event_path_title.xml
+2
-4
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml
...al_skins/erp5_crm/EventPath_view/my_destination_title.xml
+5
-30
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_source_title.xml
.../portal_skins/erp5_crm/EventPath_view/my_source_title.xml
+7
-53
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_title.xml
...ateItem/portal_skins/erp5_crm/EventPath_view/my_title.xml
+8
-2
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_destination_title.xml
View file @
c961dde4
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
items
</string>
<string>
base_category
</string>
<string>
portal_type
</string>
<string>
portal_type
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
...
@@ -63,17 +63,11 @@
...
@@ -63,17 +63,11 @@
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
items
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
t
itle
</string>
</key>
<key>
<string>
t
arget
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -83,6 +77,10 @@
...
@@ -83,6 +77,10 @@
<key>
<string>
values
</string>
</key>
<key>
<string>
values
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string>
destination
</string>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_relation_field
</string>
</value>
<value>
<string>
my_relation_field
</string>
</value>
...
@@ -91,12 +89,6 @@
...
@@ -91,12 +89,6 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<value>
...
@@ -122,17 +114,4 @@
...
@@ -122,17 +114,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'\',\'\')] + map(lambda x: (x.getTitle(), x.getRelativeUrl()), here.portal_domains.campaign_domain.objectValues(portal_types="Domain"))
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_source_title.xml
View file @
c961dde4
...
@@ -10,9 +10,7 @@
...
@@ -10,9 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
items
</string>
<string>
editable
</string>
<string>
portal_type
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -62,20 +60,10 @@
...
@@ -62,20 +60,10 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -84,59 +72,25 @@
...
@@ -84,59 +72,25 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<
string>
my_relation_field
</string
>
</value>
<value>
<
int>
1
</int
>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
my_event_source_title
</string>
</value>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<list/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<value>
<string>
Base_viewCRMFieldLibrary
</string>
</value>
<list>
<tuple>
<string>
Person
</string>
<string>
Person
</string>
</tuple>
<tuple>
<string>
Organisation
</string>
<string>
Organisation
</string>
</tuple>
</list>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Sender
</string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'\',\'\')] + map(lambda x: (x.getTitle(), x.getRelativeUrl()), here.portal_domains.campaign_domain.objectValues(portal_types="Domain"))
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Campaign_viewEventPath/my_default_event_path_title.xml
View file @
c961dde4
...
@@ -10,8 +10,6 @@
...
@@ -10,8 +10,6 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
catalog_index
</string>
<string>
portal_type
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
...
@@ -79,11 +77,11 @@
...
@@ -79,11 +77,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
string_field
</string>
</value>
<value>
<string>
my_
event_title
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_view
CRM
FieldLibrary
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml
View file @
c961dde4
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
items
</string>
<string>
base_category
</string>
<string>
portal_type
</string>
<string>
portal_type
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
...
@@ -62,20 +62,10 @@
...
@@ -62,20 +62,10 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -83,6 +73,10 @@
...
@@ -83,6 +73,10 @@
<key>
<string>
values
</string>
</key>
<key>
<string>
values
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
base_category
</string>
</key>
<value>
<string>
destination
</string>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_relation_field
</string>
</value>
<value>
<string>
my_relation_field
</string>
</value>
...
@@ -91,12 +85,6 @@
...
@@ -91,12 +85,6 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<value>
...
@@ -122,17 +110,4 @@
...
@@ -122,17 +110,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'\',\'\')] + map(lambda x: (x.getTitle(), x.getRelativeUrl()), here.portal_domains.campaign_domain.objectValues(portal_types="Domain"))
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_source_title.xml
View file @
c961dde4
...
@@ -10,9 +10,7 @@
...
@@ -10,9 +10,7 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
items
</string>
<string>
editable
</string>
<string>
portal_type
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -62,20 +60,10 @@
...
@@ -62,20 +60,10 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -84,59 +72,25 @@
...
@@ -84,59 +72,25 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<
string>
my_relation_field
</string
>
</value>
<value>
<
int>
1
</int
>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
my_event_source_title
</string>
</value>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<list/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<value>
<string>
Base_viewCRMFieldLibrary
</string>
</value>
<list>
<tuple>
<string>
Person
</string>
<string>
Person
</string>
</tuple>
<tuple>
<string>
Organisation
</string>
<string>
Organisation
</string>
</tuple>
</list>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Sender
</string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: [(\'\',\'\')] + map(lambda x: (x.getTitle(), x.getRelativeUrl()), here.portal_domains.campaign_domain.objectValues(portal_types="Domain"))
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_title.xml
View file @
c961dde4
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
<value>
<string>
my_title
</string>
</value>
...
@@ -65,11 +71,11 @@
...
@@ -65,11 +71,11 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
view_mode
_title
</string>
</value>
<value>
<string>
my_
event
_title
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_view
CRM
FieldLibrary
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
...
bt5/erp5_crm/bt/revision
View file @
c961dde4
621
623
\ No newline at end of file
\ 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