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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
3444caa5
Commit
3444caa5
authored
Jun 25, 2024
by
Romain Courteaud
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5/tests/testXHTML: do not report unused forms
parent
60f4f3df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+4
-0
No files found.
product/ERP5/tests/testXHTML.py
View file @
3444caa5
...
@@ -112,6 +112,10 @@ class TestXHTMLMixin(ERP5TypeTestCase):
...
@@ -112,6 +112,10 @@ class TestXHTMLMixin(ERP5TypeTestCase):
except
BrokenProxyField
:
except
BrokenProxyField
:
template_field
=
None
template_field
=
None
if
template_field
is
None
:
if
template_field
is
None
:
# field's parent form can actually exists but not in current skin, check if it can be found in portal_skins
found_list_action_list
=
skins_tool
.
ZopeFind
(
skins_tool
,
obj_ids
=
[
field
.
form
.
id
],
search_sub
=
1
)
if
found_list_action_list
and
(
found_list_action_list
[
0
][
1
]
!=
field
.
form
):
continue
# 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
# by default.
# by default.
...
...
Romain Courteaud
@romain
mentioned in commit
693c9d2d
·
Jun 25, 2024
mentioned in commit
693c9d2d
mentioned in commit 693c9d2d0b79b672b34cbc7d8603dee36a09e4c6
Toggle commit list
Romain Courteaud
@romain
mentioned in commit
21947c37
·
Jun 26, 2024
mentioned in commit
21947c37
mentioned in commit 21947c37a12f2e9eb8367f6c7969bcbf84509164
Toggle commit list
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