Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Jean-Paul Smets
slapos
Commits
1e6d5631
Commit
1e6d5631
authored
Jul 26, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new TemplateTool API
parent
b44be8f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
slapos/recipe/erp5/erp5.py
slapos/recipe/erp5/erp5.py
+4
-2
No files found.
slapos/recipe/erp5/erp5.py
View file @
1e6d5631
...
@@ -186,10 +186,12 @@ class ERP5Updater(object):
...
@@ -186,10 +186,12 @@ class ERP5Updater(object):
def
_installBusinessTemplateList
(
self
,
name_list
,
update_catalog
=
False
):
def
_installBusinessTemplateList
(
self
,
name_list
,
update_catalog
=
False
):
""" Install a Business Template on Remote ERP5 setup """
""" Install a Business Template on Remote ERP5 setup """
set_path
=
"/%s/portal_templates/installBusinessTemplate
sFromRepositories
"
%
self
.
site_id
set_path
=
"/%s/portal_templates/installBusinessTemplate
ListFromRepository
"
%
self
.
site_id
self
.
POST
(
set_path
,
{
"template_list"
:
name_list
,
self
.
POST
(
set_path
,
{
"template_list"
:
name_list
,
"only_newer"
:
1
,
"only_newer"
:
1
,
"update_catalog"
:
int
(
update_catalog
)})
"update_catalog"
:
int
(
update_catalog
),
"activate"
:
1
,
"install_dependency"
:
1
})
def
_createActiveSystemPreference
(
self
):
def
_createActiveSystemPreference
(
self
):
""" Assert that at least one enabled System Preference is present on
""" Assert that at least one enabled System Preference is present on
...
...
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