Commit ca525c77 authored by Łukasz Nowak's avatar Łukasz Nowak

Do it in same transaction.

parent 73df2670
......@@ -75,8 +75,7 @@ if invoice.getSimulationState() == \'draft\':\n
\n
# Update causality workflow\n
invoice.startBuilding()\n
invoice.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))).updateCausalityState()\n
invoice.updateCausalityState()\n
\n
# update specialise from movements\n
specialise_list = invoice.getSpecialiseList()\n
......
391
\ No newline at end of file
392
\ 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