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
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amrani
erp5
Commits
70326bbf
Commit
70326bbf
authored
Aug 09, 2013
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BusinessTemplate: Add not committed function call (
b241968f
).
parent
29343915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+2
-0
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
70326bbf
...
@@ -960,6 +960,8 @@ class ObjectTemplateItem(BaseTemplateItem):
...
@@ -960,6 +960,8 @@ class ObjectTemplateItem(BaseTemplateItem):
def unindex(root_document_path, path, uid):
def unindex(root_document_path, path, uid):
LOG('
Products
.
ERP5
.
Document
.
BusinessTemplate
', WARNING,
LOG('
Products
.
ERP5
.
Document
.
BusinessTemplate
', WARNING,
'
Unindex
Broken
object
at
%
r
.
' % (path,))
'
Unindex
Broken
object
at
%
r
.
' % (path,))
# Make sure there is not activity for this object
flushActivity(fakeobject(path))
# Set the path as deleted without lock
# Set the path as deleted without lock
catalog.beforeUnindexObject(None,path=path,uid=uid)
catalog.beforeUnindexObject(None,path=path,uid=uid)
# Then start activity in order to remove lines in catalog,
# Then start activity in order to remove lines in catalog,
...
...
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