Commit 78fc14eb authored by Rafael Monnerat's avatar Rafael Monnerat

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


(cherry picked from commit 8e945c95)
parent 0774a0a6
......@@ -1352,7 +1352,7 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
is_field_library = self.getId().endswith('FieldLibrary')
if self.pt == 'form_view' and not is_field_library:
if self.getId() not in CodingStyle.ignored_skin_id_set:
translated_workflow_state_title_field_re = re.compile('my_translated_.*state_title$')
def isTranslatedWorkflowStateTitleField(f):
return translated_workflow_state_title_field_re.match(f.getId()) is not None
......
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