Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
1ddc611b
Commit
1ddc611b
authored
Dec 10, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CodingStyle: ignore naming of officejs forms for now
There are too many forms to rename, it will be done later
parent
2bd02824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
product/ERP5Type/CodingStyle.py
product/ERP5Type/CodingStyle.py
+35
-0
No files found.
product/ERP5Type/CodingStyle.py
View file @
1ddc611b
...
...
@@ -215,6 +215,41 @@ ignored_skin_id_set = {
'ProductionDelivery_viewInventory'
,
}
# TODO: ignore officejs skins for now, but these should probably be
# renamed
ignored_skin_id_set
.
update
({
# erp5_officejs
'Base_cloneDocumentForCodemirrorEditor'
,
'Base_viewNewContentDialogForCodemirror'
,
'Base_cloneDocumentForSlideshowEditor'
,
'Base_cloneNotebookForNotebookEditor'
,
'Base_downloadDialogForNotebookEditor'
,
'Base_downloadHtmlDialogForNotebookEditor'
,
'Base_exportDialogForNotebookEditor'
,
'Base_uploadDialogForNotebookEditor'
,
'Notebook_previewViewForNotebookEditor'
,
'Base_cloneDocumentForPDFViewer'
,
'Base_viewNewContentDialogForPdfViewer'
,
'WebSite_createAppConfigurationManifest'
,
'Base_cloneDocumentForTextEditor'
,
'Base_viewNewContentDialogForTextEditor'
,
'Base_cloneDocumentForSvgEditor'
,
'Base_viewNewContentDialogForSvgEditor'
,
# erp5_officejs_jquery_app
'Base_cloneDocumentForWebTable'
,
'Base_viewNewContentDialogForWebTableEditor'
,
'Base_cloneDocumentForImageEditor'
,
'Base_viewNewContentDialogForImageEditor'
,
# erp5_officejs_ooffice
'Base_cloneDocumentForOofficeEditor'
,
'Base_uploadDialogForOofficeEditor'
,
'SpreadsheetDocument_viewAsJioForOofficeSpreadsheetEditor'
,
'Base_downloadDialogForOofficeEditor'
,
'PresentationDocument_viewAsJioForOofficePresentationEditor'
,
})
# Generic method to check consistency of a skin item
def
checkConsistency
(
self
,
fixit
=
0
,
source_code
=
None
):
"""
...
...
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