Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Klaus Wölfel
erp5
Commits
ca82437d
Commit
ca82437d
authored
13 years ago
by
Arnaud Fontaine
Browse files
Options
Download
Email Patches
Plain Diff
Cosmetic.
parent
df5c6d6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-2
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
ca82437d
...
...
@@ -3881,8 +3881,8 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem):
automatically as the version must be set manually. This should not be an
issue as there are not so many Documents in bt5...
"""
object_list
=
list
(
(
context
.
getTemplateFormatVersion
()
==
1
and
self
.
_objects
or
self
.
_archive
)
)
object_list
=
list
(
self
.
_objects
if
context
.
getTemplateFormatVersion
()
==
1
else
self
.
_archive
)
if
self
.
_is_already_migrated
(
object_list
):
ObjectTemplateItem
.
install
(
self
,
context
,
**
kw
)
...
...
This diff is collapsed.
Click to expand it.
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