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
62717da4
Commit
62717da4
authored
Oct 13, 2015
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: tiny code improvement, reuse existing condition
parent
93ee36c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
...ortal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
+1
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
View file @
62717da4
...
@@ -128,9 +128,8 @@ def checkField(folder, form, field):\n
...
@@ -128,9 +128,8 @@ def checkField(folder, form, field):\n
if field.get_value(\'enabled\'):\n
if field.get_value(\'enabled\'):\n
error_message += "Could not get a field from a proxy field %s" % field.id\n
error_message += "Could not get a field from a proxy field %s" % field.id\n
else:\n
else:\n
if template_field.meta_type == \'ListBox\':\n
a = template_field.getListMethodName()\n
if isListBox(field):\n
if isListBox(field):\n
a = template_field.getListMethodName()\n
path += \'/listbox\'\n
path += \'/listbox\'\n
for x in \'columns\', \'all_columns\':\n
for x in \'columns\', \'all_columns\':\n
for id, title in field.get_value(x):\n
for id, title in field.get_value(x):\n
...
...
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