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
Papa Tamsir Kane
erp5
Commits
b64649a8
Commit
b64649a8
authored
Jan 21, 2014
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Python json instead of deprecated Products.ERP5Type.JSON.
parent
3deee615
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
4 deletions
+10
-4
bt5/erp5_autocompletion_ui/SkinTemplateItem/portal_skins/erp5_autocompletion_ui/ERP5Site_getCompletionList.xml
...ins/erp5_autocompletion_ui/ERP5Site_getCompletionList.xml
+1
-1
bt5/erp5_autocompletion_ui/bt/change_log
bt5/erp5_autocompletion_ui/bt/change_log
+3
-0
bt5/erp5_autocompletion_ui/bt/revision
bt5/erp5_autocompletion_ui/bt/revision
+1
-1
bt5/erp5_json_style/SkinTemplateItem/portal_skins/erp5_json_style/ListBox_asHTML.xml
...plateItem/portal_skins/erp5_json_style/ListBox_asHTML.xml
+1
-1
bt5/erp5_json_style/bt/change_log
bt5/erp5_json_style/bt/change_log
+3
-0
bt5/erp5_json_style/bt/revision
bt5/erp5_json_style/bt/revision
+1
-1
No files found.
bt5/erp5_autocompletion_ui/SkinTemplateItem/portal_skins/erp5_autocompletion_ui/ERP5Site_getCompletionList.xml
View file @
b64649a8
...
@@ -65,7 +65,7 @@ if portal_type is not None:\n
...
@@ -65,7 +65,7 @@ if portal_type is not None:\n
result = [o.title for o in context.portal_catalog(**kw)]\n
result = [o.title for o in context.portal_catalog(**kw)]\n
\n
\n
\n
\n
from
Products.ERP5Type.JSON
import dumps\n
from
json
import dumps\n
return dumps(result, indent=4)\n
return dumps(result, indent=4)\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_autocompletion_ui/bt/change_log
View file @
b64649a8
2014-01-21 arnaud.fontaine
* Use json instead of deprecated Products.ERP5Type.JSON.
2010-08-04 nicolas.dumazet
2010-08-04 nicolas.dumazet
* Initial import.
* Initial import.
\ No newline at end of file
bt5/erp5_autocompletion_ui/bt/revision
View file @
b64649a8
6
7
\ No newline at end of file
\ No newline at end of file
bt5/erp5_json_style/SkinTemplateItem/portal_skins/erp5_json_style/ListBox_asHTML.xml
View file @
b64649a8
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
from Products.ERP5Type.collections import OrderedDict\n
<value>
<string>
from Products.ERP5Type.collections import OrderedDict\n
from
Products.ERP5Type.JSON
import dumps\n
from
json
import dumps\n
label_list = context.getLabelValueList()\n
label_list = context.getLabelValueList()\n
num = len(label_list)\n
num = len(label_list)\n
result_list = []\n
result_list = []\n
...
...
bt5/erp5_json_style/bt/change_log
View file @
b64649a8
2014-01-21 arnaud.fontaine
* Use json instead of deprecated Products.ERP5Type.JSON.
2010-10-13 Kazuhiko
2010-10-13 Kazuhiko
* initial implementation.
* initial implementation.
\ No newline at end of file
bt5/erp5_json_style/bt/revision
View file @
b64649a8
2
3
\ 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