diff --git a/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py b/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
index 02025b8c50ea21d627b9a0b53505afba527ec2ca..3474d520551a92c5562c74c2b27cd048de7fa6d2 100644
--- a/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
+++ b/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
@@ -1678,7 +1678,7 @@ class TestSlapOSUpdateOpenSaleOrderPeriod(testSlapOSMixin):
 
   def createOpenOrder(self):
     open_order = self.portal.open_sale_order_module\
-        .template_open_sale_order.Base_createCloneDocument(batch_mode=1)
+        .slapos_accounting_open_sale_order_template.Base_createCloneDocument(batch_mode=1)
     open_order.edit(
         title=self.generateNewSoftwareTitle(),
         reference="TESTHS-%s" % self.generateNewId(),
diff --git a/master/bt5/slapos_accounting/bt/revision b/master/bt5/slapos_accounting/bt/revision
index 8d0003f4668834ef1138cf7df42f663fce94ead0..d3b981955773e59576c06a329282e9e01940b1ef 100644
--- a/master/bt5/slapos_accounting/bt/revision
+++ b/master/bt5/slapos_accounting/bt/revision
@@ -1 +1 @@
-245
\ No newline at end of file
+246
\ No newline at end of file