Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
wenjie.zheng
erp5_workflow
Commits
7f0a3b61
Commit
7f0a3b61
authored
May 07, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete Delivery.updateAppliedRule
parent
5c09e2e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
product/ERP5/Document/Delivery.py
product/ERP5/Document/Delivery.py
+0
-9
No files found.
product/ERP5/Document/Delivery.py
View file @
7f0a3b61
...
@@ -716,15 +716,6 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
...
@@ -716,15 +716,6 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
"""Do an immediate local build for this delivery"""
"""Do an immediate local build for this delivery"""
return
self
.
asComposedDocument
().
build
(
explanation
=
self
)
return
self
.
asComposedDocument
().
build
(
explanation
=
self
)
# deprecated - see ExpandableMixin
@
UnrestrictedMethod
def
updateAppliedRule
(
self
,
rule_reference
=
None
,
rule_id
=
None
,
**
kw
):
reference
=
self
.
getRuleReference
()
if
(
rule_id
or
rule_reference
)
!=
reference
:
raise
RuntimeError
(
"expected %r as rule reference, got %r"
%
(
reference
,
rule_reference
))
self
.
_updateSimulation
(
create_root
=
1
)
# should it be always reexpanded ?
def
_createRootAppliedRule
(
self
):
def
_createRootAppliedRule
(
self
):
portal
=
self
.
getPortalObject
()
portal
=
self
.
getPortalObject
()
# Only create RAR if we are not in a "too early" or "too late" state.
# Only create RAR if we are not in a "too early" or "too late" state.
...
...
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