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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
834bc9ec
Commit
834bc9ec
authored
May 20, 2015
by
Jérome Perrin
6
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
experimental for dwh in test
parent
81f093ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+6
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
834bc9ec
...
...
@@ -1210,6 +1210,11 @@ class ObjectTemplateItem(BaseTemplateItem):
'could not restore %r in %r'
%
(
subobject_id
,
obj
))
if
obj
.
meta_type
in
(
'Z SQL Method'
,):
fixZSQLMethod
(
portal
,
obj
)
elif
obj
.
meta_type
in
(
'Z MySQL Database Connection'
,
):
from
Products.ERP5Type.tests.utils
import
getExtraSqlConnectionStringList
if
obj
.
id
==
'gkr_dwh_connection'
:
obj
.
edit
(
''
,
getExtraSqlConnectionStringList
()[
0
])
# XXX experimental
# portal transforms specific initialization
elif
obj
.
meta_type
in
(
'Transform'
,
'TransformsChain'
):
assert
container
.
meta_type
==
'Portal Transforms'
...
...
@@ -6023,4 +6028,4 @@ Business Template is a set of definitions, such as skins, portal types and categ
for
key
in
item_name_list
:
setattr
(
BusinessTemplate
,
key
,
None
)
# Check naming convention of items.
assert
item_set
.
issubset
(
globals
()),
item_set
.
difference
(
globals
())
assert
item_set
.
issubset
(
globals
()),
item_set
.
difference
(
globals
())
\ No newline at end of file
Jérome Perrin
@jerome
mentioned in commit
b33dd133
·
May 21, 2015
mentioned in commit
b33dd133
mentioned in commit b33dd1339bc91a03d9474daf630f3332275f6ca1
Toggle commit 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