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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
2910a940
Commit
2910a940
authored
Nov 23, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: WIP try to export field sandbox
parent
f08ed7a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_common/Form_getFieldsRawProperties.py
...skins/erp5_officejs_common/Form_getFieldsRawProperties.py
+1
-0
No files found.
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_common/Form_getFieldsRawProperties.py
View file @
2910a940
...
@@ -45,6 +45,7 @@ def getFieldRawProperties(field, meta_type=None, key=None, key_prefix=None):
...
@@ -45,6 +45,7 @@ def getFieldRawProperties(field, meta_type=None, key=None, key_prefix=None):
if
gadget_field_patch
:
if
gadget_field_patch
:
try
:
try
:
result
[
"values"
][
"url"
]
=
result
[
"values"
][
"gadget_url"
]
result
[
"values"
][
"url"
]
=
result
[
"values"
][
"gadget_url"
]
result
[
"values"
][
"js_sandbox"
]
=
result
[
"values"
][
"js_sandbox"
]
result
[
"values"
][
"renderjs_extra"
]
=
result
[
"values"
][
"renderjs_extra"
][
0
][
0
]
result
[
"values"
][
"renderjs_extra"
]
=
result
[
"values"
][
"renderjs_extra"
][
0
][
0
]
except
(
ValueError
,
KeyError
,
IndexError
):
except
(
ValueError
,
KeyError
,
IndexError
):
log
(
"error while patching form gadget list definition"
)
log
(
"error while patching form gadget list definition"
)
...
...
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