Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
1c39b149
Commit
1c39b149
authored
Feb 24, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in BusinessTemplate comments.
parent
36ed2ca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+4
-4
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
1c39b149
...
...
@@ -3764,9 +3764,9 @@ from Products.ERP5Type.Core.DocumentComponent import DocumentComponent as \
class
DocumentTemplateItem
(
FilesystemToZodbTemplateItem
):
"""
Extension
s are now stored in ZODB rather than on the filesystem. However,
some Business Templates may still have filesystem
Extensions which need to
be
migrated to the ZODB.
Document
s are now stored in ZODB rather than on the filesystem. However,
some Business Templates may still have filesystem
Documents which need to be
migrated to the ZODB.
The migration is performed in two steps:
...
...
@@ -3803,7 +3803,7 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem):
def
export
(
self
,
context
,
bta
,
**
kw
):
path
=
self
.
__class__
.
__name__
+
'/'
for
key
,
obj
in
self
.
_objects
.
iteritems
():
# Back compatibility with filesystem
Extension
s
# Back compatibility with filesystem
Document
s
if
isinstance
(
obj
,
str
):
if
not
key
.
startswith
(
path
):
key
=
path
+
key
...
...
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