Commit 50c0efd2 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! ERP5Site_checkNamingConventions: Accept the use of 'your_' in field libraries.

parent 3ac98024
...@@ -82,7 +82,7 @@ def checkField(folder, form, field): ...@@ -82,7 +82,7 @@ def checkField(folder, form, field):
prefix = '' prefix = ''
if prefix not in ('my', 'your') and not any([field_id.startswith(x) for x in ( if prefix not in ('my', 'your') and not any([field_id.startswith(x) for x in (
'view_mode_', 'core_mode_', 'report_mode_', 'list_mode_', 'dialog_mode_', 'view_mode_', 'core_mode_', 'report_mode_', 'list_mode_', 'dialog_mode_',
)]: )]):
error_message += "%s: %s : Bad ID for a Field Library Field" % (path, field.id) error_message += "%s: %s : Bad ID for a Field Library Field" % (path, field.id)
if template_field is None: if template_field is None:
if field.get_value('enabled'): if field.get_value('enabled'):
......
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