Commit 7f0a3b61 authored by Julien Muchembled's avatar Julien Muchembled

Remove obsolete Delivery.updateAppliedRule

parent 5c09e2e2
......@@ -716,15 +716,6 @@ class Delivery(XMLObject, ImmobilisationDelivery, SimulableMixin,
"""Do an immediate local build for this delivery"""
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):
portal = self.getPortalObject()
# Only create RAR if we are not in a "too early" or "too late" state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment