Commit b0f52811 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not count Payment Transactions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32033 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4f340d0b
...@@ -2114,7 +2114,9 @@ class TestSaleInvoiceMixin(TestInvoiceMixin, ...@@ -2114,7 +2114,9 @@ class TestSaleInvoiceMixin(TestInvoiceMixin,
for builder in self.getPortal().portal_deliveries.objectValues(): for builder in self.getPortal().portal_deliveries.objectValues():
builder.build() builder.build()
self.assertEquals(sale_invoice_transaction_count, self.assertEquals(sale_invoice_transaction_count,
len(accounting_module.objectValues())) len(accounting_module.objectValues(
portal_type=('Sale Invoice Transaction',
'Purchase Invoice Transaction'))))
def stepModifyInvoicesDate(self, sequence=None, def stepModifyInvoicesDate(self, sequence=None,
sequence_list=None, **kw): sequence_list=None, **kw):
......
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