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

Just confirm instead of stop.

parent b2f8c76b
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>active_sense_method_id</string> </key>
<value> <string>Alarm_stopPlannedSaleInvoiceTransaction</string> </value>
<value> <string>Alarm_confirmPlannedSaleInvoiceTransaction</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -22,7 +22,7 @@
</item>
<item>
<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>
<key> <string>periodicity_hour</string> </key>
......@@ -83,7 +83,7 @@
</item>
<item>
<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>
</dictionary>
</pickle>
......
......@@ -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
# do not trust catalog\n
sale_invoice_transaction.confirm()\n
sale_invoice_transaction.start()\n
sale_invoice_transaction.stop()\n
]]></string> </value>
......@@ -78,7 +76,7 @@ for sale_invoice_transaction in portal.portal_catalog(\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Alarm_stopPlannedSaleInvoiceTransaction</string> </value>
<value> <string>Alarm_confirmPlannedSaleInvoiceTransaction</string> </value>
</item>
</dictionary>
</pickle>
......
553
\ No newline at end of file
554
\ No newline at end of file
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_lock_person
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