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
Mikolaï Krol
erp5
Commits
887f903c
Commit
887f903c
authored
Nov 19, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop CMFUid's tools
parent
8b120874
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+0
-10
product/ERP5Type/dynamic/portal_type_class.py
product/ERP5Type/dynamic/portal_type_class.py
+5
-3
No files found.
product/ERP5/ERP5Site.py
View file @
887f903c
...
@@ -1888,16 +1888,6 @@ class PortalGenerator:
...
@@ -1888,16 +1888,6 @@ class PortalGenerator:
addCMFCoreTool
(
'CMF URL Tool'
,
None
)
addCMFCoreTool
(
'CMF URL Tool'
,
None
)
addCMFCoreTool
(
'CMF Workflow Tool'
,
None
)
addCMFCoreTool
(
'CMF Workflow Tool'
,
None
)
# try to install CMFUid without raising exceptions if not available
try
:
addCMFUidTool
=
p
.
manage_addProduct
[
'CMFUid'
].
manage_addTool
except
AttributeError
:
pass
else
:
addCMFUidTool
(
'Unique Id Annotation Tool'
,
None
)
addCMFUidTool
(
'Unique Id Generator Tool'
,
None
)
addCMFUidTool
(
'Unique Id Handler Tool'
,
None
)
def
setupMailHost
(
self
,
p
):
def
setupMailHost
(
self
,
p
):
p
.
manage_addProduct
[
'MailHost'
].
manage_addMailHost
(
p
.
manage_addProduct
[
'MailHost'
].
manage_addMailHost
(
'MailHost'
,
smtp_host
=
'localhost'
)
'MailHost'
,
smtp_host
=
'localhost'
)
...
...
product/ERP5Type/dynamic/portal_type_class.py
View file @
887f903c
...
@@ -465,8 +465,10 @@ def synchronizeDynamicModules(context, force=False):
...
@@ -465,8 +465,10 @@ def synchronizeDynamicModules(context, force=False):
assert
tool
.
_p_changed
assert
tool
.
_p_changed
migrate
=
True
migrate
=
True
if
portal
.
hasObject
(
"portal_properties"
):
for
tool_id
in
(
"portal_properties"
,
"portal_uidannotation"
,
portal
.
_delObject
(
"portal_properties"
,
suppress_events
=
True
)
"portal_uidgenerator"
,
"portal_uidhandler"
):
if
portal
.
hasObject
(
tool_id
):
portal
.
_delObject
(
tool_id
,
suppress_events
=
True
)
migrate
=
True
migrate
=
True
if
migrate
:
if
migrate
:
...
...
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