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
Nicolas Wavrant
erp5
Commits
79f99a14
Commit
79f99a14
authored
May 21, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
display translated title of CRM resources
parent
a8b2267c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewEventList/ticket_listbox.xml
...rtal_skins/erp5_crm/Base_viewEventList/ticket_listbox.xml
+2
-2
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_getResourceItemList.xml
...Item/portal_skins/erp5_crm/Ticket_getResourceItemList.xml
+1
-1
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_viewEventList/ticket_listbox.xml
View file @
79f99a14
...
...
@@ -91,11 +91,11 @@
<string>
Title
</string>
</tuple>
<tuple>
<string>
portal_type
</string>
<string>
translated_
portal_type
</string>
<string>
Type
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
resource_t
ranslated_t
itle
</string>
<string>
Resource
</string>
</tuple>
<tuple>
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_getResourceItemList.xml
View file @
79f99a14
...
...
@@ -68,7 +68,7 @@ def getResourceItemList(portal_type):\n
\'use_uid\': portal.portal_categories.getCategoryUid(portal.portal_preferences.getPreference(preference_id), base_category=\'use\'),\n
\'validation_state\': \'validated\',\n
\'sort_on\': \'title\'}\n
return [(\'\', \'\')] + [(result.getTitle(), result.getRelativeUrl()) for result in portal.portal_catalog(**sql_kw)]\n
return [(\'\', \'\')] + [(result.getT
ranslatedT
itle(), result.getRelativeUrl()) for result in portal.portal_catalog(**sql_kw)]\n
\n
getResourceItemList = CachingMethod(getResourceItemList, \n
id=(script.id, portal_type, context.Localizer.get_selected_language()), \n
...
...
bt5/erp5_crm/bt/revision
View file @
79f99a14
652
\ No newline at end of file
653
\ 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