Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
nexedi
/
erp5
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Merge Requests
111
Wiki
Snippets
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 4b1a3c0d
authored
2019-11-19 18:16:21 +0100
by
Bryton Lacquement
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Drop CMFUid's tools
1 parent
6a88f527
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
product/ERP5/ERP5Site.py
product/ERP5Type/dynamic/portal_type_class.py
product/ERP5/ERP5Site.py
View file @
4b1a3c0
...
...
@@ -1898,16 +1898,6 @@ class PortalGenerator:
addCMFCoreTool
(
'CMF URL 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
):
p
.
manage_addProduct
[
'MailHost'
]
.
manage_addMailHost
(
'MailHost'
,
smtp_host
=
'localhost'
)
...
...
product/ERP5Type/dynamic/portal_type_class.py
View file @
4b1a3c0
...
...
@@ -465,8 +465,10 @@ def synchronizeDynamicModules(context, force=False):
assert
tool
.
_p_changed
migrate
=
True
if
portal
.
hasObject
(
"portal_properties"
):
portal
.
_delObject
(
"portal_properties"
,
suppress_events
=
True
)
for
portal_id
in
(
"portal_properties"
,
"portal_uidannotation"
,
"portal_uidgenerator"
,
"portal_uidhandler"
)
if
portal
.
hasObject
(
portal_id
):
portal
.
_delObject
(
portal_id
,
suppress_events
=
True
)
migrate
=
True
if
migrate
:
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment