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

No need to fetch document not checked later.

parent 443131e0
...@@ -87,9 +87,6 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -87,9 +87,6 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
len(self.portal.accounting_module.contentValues( len(self.portal.accounting_module.contentValues(
portal_type="Sale Invoice Transaction")), portal_type="Sale Invoice Transaction")),
sequence.get('number_of_invoice') + 1) sequence.get('number_of_invoice') + 1)
invoice = self.portal.accounting_module.contentValues(
portal_type="Sale Invoice Transaction",
sort_on=(("creation_date", "DESC"),))[0]
def stepBuildOneMorePayment(self, sequence, **kw): def stepBuildOneMorePayment(self, sequence, **kw):
sequence.edit(number_of_payment=\ sequence.edit(number_of_payment=\
...@@ -102,9 +99,6 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -102,9 +99,6 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
len(self.portal.accounting_module.contentValues( len(self.portal.accounting_module.contentValues(
portal_type="Payment Transaction")), portal_type="Payment Transaction")),
sequence.get('number_of_payment') + 1) sequence.get('number_of_payment') + 1)
payment = self.portal.accounting_module.contentValues(
portal_type="Payment Transaction",
sort_on=(("creation_date", "DESC"),))[0]
def test_OpenOrder_sale_packing_list(self): def test_OpenOrder_sale_packing_list(self):
""" """
......
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