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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
2b87a631
Commit
2b87a631
authored
Jun 29, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: revert some changes again
parent
6d82b337
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
product/ERP5/bootstrap/erp5_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+0
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.py
...portal_skins/erp5_core/ERP5Site_checkNamingConventions.py
+3
-4
No files found.
product/ERP5/bootstrap/erp5_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
2b87a631
...
@@ -35,9 +35,6 @@
...
@@ -35,9 +35,6 @@
<portal_type
id=
"Extension Component"
>
<portal_type
id=
"Extension Component"
>
<item>
SortIndex
</item>
<item>
SortIndex
</item>
</portal_type>
</portal_type>
<portal_type
id=
"Preference"
>
<item>
TelephonePreference
</item>
</portal_type>
<portal_type
id=
"Property Existence Constraint"
>
<portal_type
id=
"Property Existence Constraint"
>
<item>
ConstraintType
</item>
<item>
ConstraintType
</item>
</portal_type>
</portal_type>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.py
View file @
2b87a631
...
@@ -10,15 +10,15 @@
...
@@ -10,15 +10,15 @@
# - Check script names (from skin folders and workflows).
# - Check script names (from skin folders and workflows).
import
re
import
re
ABBREVIATION_WORD_SET
=
((
ABBREVIATION_WORD_SET
=
((
"BBAN"
,
"BIC"
,
"BOM"
,
"
BT"
,
"BT5"
,
"
CAD"
,
"CRM"
,
"CSS"
,
"CSV"
,
"CTX"
,
"DMS"
,
"DNS"
,
"BBAN"
,
"BIC"
,
"BOM"
,
"CAD"
,
"CRM"
,
"CSS"
,
"CSV"
,
"CTX"
,
"DMS"
,
"DNS"
,
"EAN"
,
"ERP5"
,
"FAX"
,
"GAP"
,
"GID"
,
"GPG"
,
"HTML"
,
"HTTP"
,
"IBAN"
,
"ID"
,
"EAN"
,
"ERP5"
,
"FAX"
,
"GAP"
,
"GID"
,
"GPG"
,
"HTML"
,
"HTTP"
,
"IBAN"
,
"ID"
,
"IMAP"
,
"IP"
,
"KM"
,
"MIME"
,
"MRP"
,
"NVP"
,
"ODT"
,
"PDF"
,
"PDM"
,
"PO"
,
"IMAP"
,
"IP"
,
"KM"
,
"MIME"
,
"MRP"
,
"NVP"
,
"ODT"
,
"PDF"
,
"PDM"
,
"PO"
,
"RAM"
,
"RSS"
,
"SMS"
,
"SOAP"
,
"SQL"
,
"SVN"
,
"TALES"
,
"TCP"
,
"TSV"
,
"UBM"
,
"RAM"
,
"RSS"
,
"SMS"
,
"SOAP"
,
"SQL"
,
"SVN"
,
"TALES"
,
"TCP"
,
"TSV"
,
"UBM"
,
"UID"
,
"U
NG"
,
"U
OM"
,
"URI"
,
"URL"
,
"VADS"
,
"VAT"
,
"VCS"
,
"VPN"
,
"XML"
,
"ZODB"
,
"UID"
,
"UOM"
,
"URI"
,
"URL"
,
"VADS"
,
"VAT"
,
"VCS"
,
"VPN"
,
"XML"
,
"ZODB"
,
))
))
# List of words that do not need to be titlecased
# List of words that do not need to be titlecased
LOWERCASE_WORD_SET
=
set
((
'g'
,
'cm'
,
'kg'
,
'%'
,
'/'
,
'...'
,
'm'
,
'-'
,
'g/m2'
,
'iCalendar'
,
'm³'
,
'kB'
,
's'
,
))
LOWERCASE_WORD_SET
=
set
((
'g'
,
'cm'
,
'kg'
,
'%'
,
'/'
,
'...'
,
'm'
,
'-'
,
'g/m2'
,
'iCalendar'
,
'm³'
,
'kB'
))
# List of words that should not be modified
# List of words that should not be modified
SPECIALCASE_WORD_SET
=
set
((
"ChangeLog"
,
"EGov"
,
"iCal"
,
"included"
,
SPECIALCASE_WORD_SET
=
set
((
"ChangeLog"
,
"EGov"
,
"iCal"
,
"included"
,
...
@@ -42,7 +42,6 @@ CLOSED_CLASS_WORD_LIST = """
...
@@ -42,7 +42,6 @@ CLOSED_CLASS_WORD_LIST = """
well what whatever when where whereas whether which while whilst who whoever
well what whatever when where whereas whether which while whilst who whoever
whom whose with within without worth would yes you your yours yourself
whom whose with within without worth would yes you your yours yourself
"""
.
split
()
"""
.
split
()
CLOSED_CLASS_WORD_SET
=
set
(
CLOSED_CLASS_WORD_LIST
)
CLOSED_CLASS_WORD_SET
=
set
(
CLOSED_CLASS_WORD_LIST
)
assert
len
(
CLOSED_CLASS_WORD_SET
)
==
len
(
CLOSED_CLASS_WORD_LIST
)
assert
len
(
CLOSED_CLASS_WORD_SET
)
==
len
(
CLOSED_CLASS_WORD_LIST
)
SENTENCE_PART_LIST
=
(
SENTENCE_PART_LIST
=
(
...
...
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