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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
erp5
Commits
185f4abe
Commit
185f4abe
authored
Jul 17, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: No need to migrate non-ERP5 Products.
parent
b16ac84a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
83 deletions
+2
-83
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-83
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
185f4abe
...
@@ -6647,15 +6647,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -6647,15 +6647,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
# ERP5 Objects use Interaction Workflows...
# ERP5 Objects use Interaction Workflows...
'Products.ERP5Form.Interactor.FieldValueCacheInteractor'
,
'Products.ERP5Form.Interactor.FieldValueCacheInteractor'
,
## No need to migrate
## No need to migrate
'Products.PloneHotfix20121106.allow_module'
,
'Products.PloneHotfix20121106.atat'
,
'Products.PloneHotfix20121106.ftp'
,
'Products.PloneHotfix20121106.get_request_var_or_attr'
,
'Products.PloneHotfix20121106.safe_html'
,
'Products.PloneHotfix20121106.setHeader'
,
'Products.MailTemplates.tests.example1'
,
'Products.MailTemplates.tests.example3'
,
'Products.MailTemplates.tests.example4'
,
'Products.ERP5Type.PsycoWrapper'
,
'Products.ERP5Type.PsycoWrapper'
,
# Deprecated and used only in SimulationTool._solveMovementOrDelivery()
# Deprecated and used only in SimulationTool._solveMovementOrDelivery()
'Products.ERP5.DeliverySolver.Copy'
,
'Products.ERP5.DeliverySolver.Copy'
,
...
@@ -6715,75 +6706,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -6715,75 +6706,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
'Products.ERP5OOo.tests.testFormPrintoutAsODT'
,
'Products.ERP5OOo.tests.testFormPrintoutAsODT'
,
'Products.ERP5OOo.tests.testIngestion'
,
'Products.ERP5OOo.tests.testIngestion'
,
'Products.ERP5OOo.tests.testOOoDynamicStyle'
,
'Products.ERP5OOo.tests.testOOoDynamicStyle'
,
'Products.PortalTransforms.cache'
,
'Products.PortalTransforms.chain'
,
'Products.PortalTransforms.data'
,
'Products.PortalTransforms.interfaces.chain'
,
'Products.PortalTransforms.interfaces.data_stream'
,
'Products.PortalTransforms.interfaces.engine'
,
'Products.PortalTransforms.interfaces.portal_transforms_tool'
,
'Products.PortalTransforms.interfaces.transform'
,
'Products.PortalTransforms.libtransforms.commandtransform'
,
'Products.PortalTransforms.libtransforms.imagemagick_transform'
,
'Products.PortalTransforms.libtransforms.piltransform'
,
'Products.PortalTransforms.libtransforms.retransform'
,
'Products.PortalTransforms.libtransforms.utils'
,
'Products.PortalTransforms.libtransforms.zope27rest'
,
'Products.PortalTransforms.setuphandlers'
,
'Products.PortalTransforms.tests.input.test_python'
,
'Products.PortalTransforms.tests.test_doctests'
,
'Products.PortalTransforms.tests.test_engine'
,
'Products.PortalTransforms.tests.test_graph'
,
'Products.PortalTransforms.tests.testImageMagickPortalTransforms'
,
'Products.PortalTransforms.tests.test_intelligenttext'
,
'Products.PortalTransforms.tests.test_transforms'
,
'Products.PortalTransforms.tests.test_xss'
,
'Products.PortalTransforms.tests.utils'
,
'Products.PortalTransforms.tests.word'
,
'Products.PortalTransforms.Transform'
,
'Products.PortalTransforms.TransformEngine'
,
'Products.PortalTransforms.transforms.broken'
,
'Products.PortalTransforms.TransformsChain'
,
'Products.PortalTransforms.transforms.html_body'
,
'Products.PortalTransforms.transforms.html_to_text'
,
'Products.PortalTransforms.transforms.html_to_web_intelligent_plain_text'
,
'Products.PortalTransforms.transforms.identity'
,
'Products.PortalTransforms.transforms.image_to_gif'
,
'Products.PortalTransforms.transforms.image_to_html'
,
'Products.PortalTransforms.transforms.image_to_jpeg'
,
'Products.PortalTransforms.transforms.image_to_png'
,
'Products.PortalTransforms.transforms.image_to_ppm'
,
'Products.PortalTransforms.transforms.image_to_svg'
,
'Products.PortalTransforms.transforms.image_to_tiff'
,
'Products.PortalTransforms.transforms.lynx_dump'
,
'Products.PortalTransforms.transforms.markdown_to_html'
,
'Products.PortalTransforms.transforms.office_com'
,
'Products.PortalTransforms.transforms.office_uno'
,
'Products.PortalTransforms.transforms.office_wvware'
,
'Products.PortalTransforms.transforms.pdf_to_html'
,
'Products.PortalTransforms.transforms.pdf_to_png'
,
'Products.PortalTransforms.transforms.pdf_to_text'
,
'Products.PortalTransforms.transforms.png_to_text'
,
'Products.PortalTransforms.transforms.python'
,
'Products.PortalTransforms.transforms.rest'
,
'Products.PortalTransforms.transforms.rtf_to_html'
,
'Products.PortalTransforms.transforms.rtf_to_xml'
,
'Products.PortalTransforms.transforms.safe_html'
,
'Products.PortalTransforms.transforms.st'
,
'Products.PortalTransforms.transforms.textile_to_html'
,
'Products.PortalTransforms.transforms.text_pre_to_html'
,
'Products.PortalTransforms.transforms.text_to_html'
,
'Products.PortalTransforms.transforms.tiff_to_text'
,
'Products.PortalTransforms.transforms.uno'
,
'Products.PortalTransforms.transforms.w3m_dump'
,
'Products.PortalTransforms.transforms.web_intelligent_plain_text_to_html'
,
'Products.PortalTransforms.transforms.word_to_html'
,
'Products.PortalTransforms.transforms.xml_to_text'
,
'Products.PortalTransforms.TransformTool'
,
'Products.PortalTransforms.unsafe_transforms.build_transforms'
,
'Products.PortalTransforms.unsafe_transforms.command'
,
'Products.PortalTransforms.unsafe_transforms.xml'
,
'Products.PortalTransforms.utils'
,
])
])
security
.
declareProtected
(
Permissions
.
ManagePortal
,
security
.
declareProtected
(
Permissions
.
ManagePortal
,
...
@@ -6864,11 +6786,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -6864,11 +6786,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
if
(
product_name
[
0
]
==
'_'
or
if
(
product_name
[
0
]
==
'_'
or
# Returned by inspect.getmembers()
# Returned by inspect.getmembers()
product_name
==
'this_module'
or
product_name
==
'this_module'
or
product_name
in
(
# Only Portal Type as classes can be migrated and this excludes all non-ERP5 Products
# Probably going to be migrated but at the end and should not be
not
product_name
.
startswith
(
'ERP5'
)):
# done for now (especially ActiveObject and HBTreeFolder2
# classes found in the MRO of most classes)
'CMFActivity'
,
'HBTreeFolder2'
)):
continue
continue
product_base_path
=
self
.
_checkFilesystemModulePath
(
product_base_path
=
self
.
_checkFilesystemModulePath
(
...
...
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