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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
erp5
Commits
93f1017d
Commit
93f1017d
authored
Aug 11, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
ERP5Form: Really ignore the form if it is in the ignore list.
See merge request
nexedi/erp5!1479
parents
7f68a76a
70b9884b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
product/ERP5Form/Form.py
product/ERP5Form/Form.py
+6
-1
No files found.
product/ERP5Form/Form.py
View file @
93f1017d
...
@@ -1364,7 +1364,12 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
...
@@ -1364,7 +1364,12 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
'my_initial_implementation_state'
,
'my_initial_implementation_state'
,
'my_hot_reindexing_state'
,
'my_hot_reindexing_state'
,
'my_message_different_state'
,
'my_message_different_state'
,
)
)
and
(
self
.
getId
(),
f
.
getId
())
not
in
(
# Field used in API
(
'Ticket_viewAsHateoas'
,
'my_simulation_state_title'
),
# Preference unrelated to workflow states.
(
'SystemPreference_viewSlapOS'
,
'my_preferred_shacache_website_expected_state'
),
)
for
group_name
in
self
.
get_groups
():
for
group_name
in
self
.
get_groups
():
field_list
=
self
.
get_fields_in_group
(
group_name
)
field_list
=
self
.
get_fields_in_group
(
group_name
)
...
...
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