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
Boris Kocherov
erp5
Commits
78fd5129
Commit
78fd5129
authored
Sep 18, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support translation of causality portal type in Support Request.
parent
5e40f8e7
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
82 additions
and
5145 deletions
+82
-5145
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_generateCausalityEventPortalTypeDomain.xml
.../erp5_crm/Base_generateCausalityEventPortalTypeDomain.xml
+2
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary.xml
...teItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary.xml
+1
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary/my_causality_translated_portal_type.xml
...ewCRMFieldLibrary/my_causality_translated_portal_type.xml
+2
-2
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList.xml
.../erp5_crm/SupportRequestModule_viewSupportRequestList.xml
+1
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox.xml
...m/SupportRequestModule_viewSupportRequestList/listbox.xml
+39
-511
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_causality_translated_portal_type.xml
...tRequestList/listbox_causality_translated_portal_type.xml
+2
-2
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_delivery_start_date.xml
...le_viewSupportRequestList/listbox_delivery_start_date.xml
+16
-2312
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_delivery_stop_date.xml
...ule_viewSupportRequestList/listbox_delivery_stop_date.xml
+16
-2312
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequest_view.xml
...emplateItem/portal_skins/erp5_crm/SupportRequest_view.xml
+1
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequest_view/my_causality_translated_portal_type.xml
...pportRequest_view/my_causality_translated_portal_type.xml
+2
-2
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_generateCausalityEventPortalTypeDomain.xml
View file @
78fd5129
...
...
@@ -54,6 +54,7 @@
portal = context.getPortalObject()\n
portal_type_list = portal.getPortalEventTypeList()\n
portal_types = portal.portal_types\n
translateString = portal.Base_translateString\n
domain_list = []\n
\n
domain_list_append = domain_list.append\n
...
...
@@ -61,7 +62,7 @@ domain_list_append = domain_list.append\n
if depth == 0:\n
for uid, portal_type in enumerate(portal_type_list):\n
domain = parent.generateTempDomain(id=\'%s_%s\' % (depth, uid))\n
domain.edit(title=
portal_types[portal_type].getTranslatedTitle(
),\n
domain.edit(title=
translateString(portal_types[portal_type].getId()
),\n
domain_generator_method_id=script.id,\n
uid=uid)\n
domain.setCriterion(property=\'causality_portal_type\', identity=portal_type)\n
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary.xml
View file @
78fd5129
...
...
@@ -151,7 +151,7 @@
<string>
your_dialog_mode_single_event
</string>
<string>
your_dialog_mode_follow_up
</string>
<string>
my_dialog_mode_direction
</string>
<string>
my_causality_portal_type
</string>
<string>
my_causality_
translated_
portal_type
</string>
</list>
</value>
</item>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary/my_causality_portal_type.xml
→
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewCRMFieldLibrary/my_causality_
translated_
portal_type.xml
View file @
78fd5129
...
...
@@ -18,7 +18,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_causality_portal_type
</string>
</value>
<value>
<string>
my_causality_
translated_
portal_type
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -125,7 +125,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:getattr(here.getCausalityValue(), \'getPortalType\', lambda:None)()
</string>
</value>
<value>
<string>
python:getattr(here.getCausalityValue(), \'get
Translated
PortalType\', lambda:None)()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList.xml
View file @
78fd5129
...
...
@@ -86,7 +86,7 @@
<string>
listbox_delivery_start_date
</string>
<string>
listbox_delivery_stop_date
</string>
<string>
listbox_destination_decision_language
</string>
<string>
listbox_causality_portal_type
</string>
<string>
listbox_causality_
translated_
portal_type
</string>
</list>
</value>
</item>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox.xml
View file @
78fd5129
This diff is collapsed.
Click to expand it.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_causality_portal_type.xml
→
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_causality_
translated_
portal_type.xml
View file @
78fd5129
...
...
@@ -17,7 +17,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_causality_portal_type
</string>
</value>
<value>
<string>
listbox_causality_
translated_
portal_type
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -116,7 +116,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:getattr(cell.getCausalityValue(), \'getPortalType\', lambda:None)()
</string>
</value>
<value>
<string>
python:getattr(cell.getCausalityValue(), \'get
Translated
PortalType\', lambda:None)()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_delivery_start_date.xml
View file @
78fd5129
This diff is collapsed.
Click to expand it.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequestModule_viewSupportRequestList/listbox_delivery_stop_date.xml
View file @
78fd5129
This diff is collapsed.
Click to expand it.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequest_view.xml
View file @
78fd5129
...
...
@@ -108,7 +108,7 @@
<string>
my_destination_decision_title
</string>
<string>
my_destination_project_title
</string>
<string>
my_causality_title
</string>
<string>
my_causality_portal_type
</string>
<string>
my_causality_
translated_
portal_type
</string>
<string>
my_source_section_title
</string>
<string>
my_source_decision_title
</string>
<string>
my_source_title
</string>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequest_view/my_causality_portal_type.xml
→
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/SupportRequest_view/my_causality_
translated_
portal_type.xml
View file @
78fd5129
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_causality_portal_type
</string>
</value>
<value>
<string>
my_causality_
translated_
portal_type
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -65,7 +65,7 @@
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_causality_portal_type
</string>
</value>
<value>
<string>
my_causality_
translated_
portal_type
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
...
...
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