Commit ba88b287 authored by Jérome Perrin's avatar Jérome Perrin

accounting py3

parent 9b986f16
...@@ -4330,7 +4330,7 @@ class TestTransactions(AccountingTestCase): ...@@ -4330,7 +4330,7 @@ class TestTransactions(AccountingTestCase):
dict(source_value=self.account_module.receivable, dict(source_value=self.account_module.receivable,
source_credit=100.000001))) source_credit=100.000001)))
invoice.newContent(portal_type='Invoice Line', quantity=1, price=100) invoice.newContent(portal_type='Invoice Line', quantity=1, price=100)
self.assertRaises(invoice.AccountingTransaction_roundDebitCredit) self.assertRaises(Exception, invoice.AccountingTransaction_roundDebitCredit)
def test_roundDebitCredit_when_payable_is_different_total_price(self): def test_roundDebitCredit_when_payable_is_different_total_price(self):
invoice = self._makeOne( invoice = self._makeOne(
......
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