Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
82d8f1a7
Commit
82d8f1a7
authored
Oct 30, 2015
by
wenjie.zheng
Committed by
wenjie.zheng
Nov 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Site_checkNamingConventions.xml: resolve conflicts.
parent
d52a440c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
...ortal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
+6
-6
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml
View file @
82d8f1a7
...
...
@@ -64,11 +64,11 @@
# - Check script names (from skin folders and workflows).\n
import re\n
ABBREVIATION_WORD_SET = ((\n
"BBAN", "BIC", "BOM",
"CAD", "CRM", "CSS", "CSV", "CTX", "DMS", "DNS",
\n
"EAN", "ERP5", "FAX", "GAP",
"GID", "GPG", "HTML", "HTTP", "IBAN", "ID",\n
"BBAN", "BIC", "BOM",
"BT", "BT5", "CAD", "CRM", "CSS","CSV", "CTX", "DMS", "DNS",
\n
"EAN", "ERP5", "FAX", "GAP","GID", "GPG", "HTML", "HTTP", "IBAN", "ID",\n
"IMAP", "IP", "KM", "MIME", "MRP", "NVP", "ODT", "PDF", "PDM", "PO",\n
"RAM", "RSS", "SMS", "SOAP", "SQL", "SVN", "TALES", "TCP", "TSV", "UBM",\n
"UID", "UOM", "URI", "URL", "VADS", "VAT", "VCS", "VPN", "XML", "ZODB",\n
"UID", "U
NG", "U
OM", "URI", "URL", "VADS", "VAT", "VCS", "VPN", "XML", "ZODB",\n
))\n
\n
# List of words that do not need to be titlecased\n
...
...
@@ -126,9 +126,9 @@ def checkField(folder, form, field):\n
template_field = getFieldFromProxyField(field)\n
if path.endswith("FieldLibrary"):\n
if not(template_field is field):\n
if not(1 in [field.id.startswith(x) for x in (\'my_view_mode
_
\',\n
\'my_core_mode_\', \'my_report_mode_\', \'my_list_mode_\', \'my_dialog_mode_\')]):\n
error_message += "%s: %s : Bad ID for a Field Library Field" %
(path, field.id)\n
if not(1 in [field.id.startswith(x) for x in (\'my_view_mode\',\n
\'my_core_mode_\', \'my_report_mode_\', \'my_list_mode_\', \'my_dialog_mode_\')]):\n
error_message += "%s: %s : Bad ID for a Field Library Field" %(path, field.id)\n
if template_field is None:\n
if field.get_value(\'enabled\'):\n
error_message += "Could not get a field from a proxy field %s" % field.id\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