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

Just confirm instead of stop.

parent b2f8c76b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>active_sense_method_id</string> </key> <key> <string>active_sense_method_id</string> </key>
<value> <string>Alarm_stopPlannedSaleInvoiceTransaction</string> </value> <value> <string>Alarm_confirmPlannedSaleInvoiceTransaction</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>stop_planned_sale_invoice_transaction</string> </value> <value> <string>confirm_planned_sale_invoice_transaction</string> </value>
</item> </item>
<item> <item>
<key> <string>periodicity_hour</string> </key> <key> <string>periodicity_hour</string> </key>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Stop planned Sale Invoices before current month</string> </value> <value> <string>Confirm planned Sale Invoices before current month</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -66,8 +66,6 @@ for sale_invoice_transaction in portal.portal_catalog(\n ...@@ -66,8 +66,6 @@ for sale_invoice_transaction in portal.portal_catalog(\n
if sale_invoice_transaction.getSimulationState() == \'planned\' and sale_invoice_transaction.getStartDate() < this_month:\n if sale_invoice_transaction.getSimulationState() == \'planned\' and sale_invoice_transaction.getStartDate() < this_month:\n
# do not trust catalog\n # do not trust catalog\n
sale_invoice_transaction.confirm()\n sale_invoice_transaction.confirm()\n
sale_invoice_transaction.start()\n
sale_invoice_transaction.stop()\n
]]></string> </value> ]]></string> </value>
...@@ -78,7 +76,7 @@ for sale_invoice_transaction in portal.portal_catalog(\n ...@@ -78,7 +76,7 @@ for sale_invoice_transaction in portal.portal_catalog(\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Alarm_stopPlannedSaleInvoiceTransaction</string> </value> <value> <string>Alarm_confirmPlannedSaleInvoiceTransaction</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
553 554
\ No newline at end of file \ No newline at end of file
portal_alarms/confirm_ordered_sale_order portal_alarms/confirm_ordered_sale_order
portal_alarms/stop_planned_sale_invoice_transaction portal_alarms/confirm_planned_sale_invoice_transaction
portal_alarms/vifib_check_consistency portal_alarms/vifib_check_consistency
portal_alarms/vifib_lock_person portal_alarms/vifib_lock_person
portal_alarms/vifib_lock_software_instance portal_alarms/vifib_lock_software_instance
......
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