Commit 2063d2d7 authored by Ivan Tyagov's avatar Ivan Tyagov

Add a dummy activity so alarm calling can detect we still have a pending...

Add a dummy activity so alarm calling can detect we still have a pending activity and do not start this script again before previous call is finished.
parent ce934b8d
......@@ -76,9 +76,14 @@ for builder_id in builder_id_list:\n
\'Delivery_updateAppliedRule\')\n
activate_kw = dict(tag=index_tag)\n
builder.activate(\n
tag=\'invoice_builder_alarm\',\n
serialization_tag=serialization_tag,\n
after_tag=after_tag,\n
after_method_id=after_method_id).build(activate_kw=activate_kw)\n
\n
# add a dummy activity so alarm calling can detect we still have a pending activity\n
# and do not start this script again before previous call is finished\n
context.activate(after_tag=\'invoice_builder_alarm\').getId()\n
</string> </value>
</item>
<item>
......
......@@ -75,9 +75,14 @@ for builder_id in builder_id_list:\n
\'Delivery_updateAppliedRule\')\n
activate_kw = dict(tag=index_tag)\n
builder.activate(\n
tag=\'packing_list_builder_alarm\',\n
serialization_tag=serialization_tag,\n
after_tag=after_tag,\n
after_method_id=after_method_id).build(activate_kw=activate_kw)\n
\n
# add a dummy activity so alarm calling can detect we still have a pending activity\n
# and do not start this script again before previous call is finished\n
context.activate(after_tag=\'packing_list_builder_alarm\').getId()\n
</string> </value>
</item>
<item>
......
35
\ No newline at end of file
36
\ 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