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
5c423047
Commit
5c423047
authored
Dec 16, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP HACK: catch proxy field without form
parent
c2e64d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+4
-1
No files found.
product/ERP5/tests/testXHTML.py
View file @
5c423047
...
@@ -143,7 +143,10 @@ class TestXHTMLMixin(ERP5TypeTestCase):
...
@@ -143,7 +143,10 @@ class TestXHTMLMixin(ERP5TypeTestCase):
for
field_path
,
field
in
skins_tool
[
skin_folder_id
].
ZopeFind
(
for
field_path
,
field
in
skins_tool
[
skin_folder_id
].
ZopeFind
(
skins_tool
[
skin_folder_id
],
skins_tool
[
skin_folder_id
],
obj_metatypes
=
[
'ProxyField'
],
search_sub
=
1
):
obj_metatypes
=
[
'ProxyField'
],
search_sub
=
1
):
template_field
=
field
.
getTemplateField
(
cache
=
False
)
try
:
template_field
=
field
.
getTemplateField
(
cache
=
False
)
except
AttributeError
:
template_field
=
None
if
template_field
is
None
:
if
template_field
is
None
:
# Base_viewRelatedObjectList (used for proxy listbox ids on
# Base_viewRelatedObjectList (used for proxy listbox ids on
# relation fields) is an exception, the proxy field has no target
# relation fields) is an exception, the proxy field has no target
...
...
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