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

Always stabilise accounting.

parent b2ed0a7f
......@@ -209,6 +209,31 @@ class testVifibMixin(ERP5TypeTestCase):
self.bootstrapSite()
self.portal._p_changed = 1
transaction.commit()
self.stabiliseAccounting()
def stabiliseAccounting(self):
self.stepCallVifibUpdateDeliveryCausalityStateAlarm()
self.tic()
self.stepCallVifibExpandDeliveryLineAlarm()
self.tic()
self.stepCallVifibTriggerBuildAlarm()
self.tic()
self.stepCallVifibUpdateDeliveryCausalityStateAlarm()
self.tic()
self.stepCallVifibExpandDeliveryLineAlarm()
self.tic()
self.stepCallVifibTriggerBuildAlarm()
self.tic()
self.stepCallVifibUpdateDeliveryCausalityStateAlarm()
self.tic()
self.stepCallStopConfirmedSaleInvoiceTransactionAlarm()
self.tic()
self.stepCallVifibExpandDeliveryLineAlarm()
self.tic()
self.stepCallVifibTriggerBuildAlarm()
self.tic()
self.stepCallVifibUpdateDeliveryCausalityStateAlarm()
self.tic()
def getDefaultSitePreferenceId(self):
"""Default id, usefull method to override
......
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