Commit 93f1017d authored by Rafael Monnerat's avatar Rafael Monnerat

ERP5Form: Really ignore the form if it is in the ignore list.

See merge request nexedi/erp5!1479
parents 7f68a76a 70b9884b
......@@ -1364,7 +1364,12 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
'my_initial_implementation_state',
'my_hot_reindexing_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():
field_list = self.get_fields_in_group(group_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment