Commit 02f0c32f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Same as r35044 (revert r32724 that is done by misunderstanding).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36471 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4b2686a
No related merge requests found
......@@ -104,13 +104,7 @@ class InvoicingRuleMovementGenerator(MovementGeneratorMixin):
._getInputMovementAndPathTupleList(context):
kw = self._getPropertyAndCategoryList(input_movement, business_path,
rule)
root_simulation_movement = input_movement.getRootSimulationMovement()
source = input_movement.getSourceAdministration() or \
root_simulation_movement.getSource()
destination = input_movement.getDestinationAdministration() or \
root_simulation_movement.getDestination()
kw.update({'order':None, 'delivery':None,
'source':source, 'destination':destination})
kw.update({'order':None,'delivery':None})
simulation_movement = context.newContent(
portal_type=RuleMixin.movement_type,
temp_object=True,
......
114
\ No newline at end of file
115
\ No newline at end of file
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