Commit 71f10f4e authored by Jérome Perrin's avatar Jérome Perrin

account_type was bad for 4718 and 4721


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14868 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05161f21
......@@ -229,13 +229,13 @@ class TestAccounting_l10n_M9(ERP5TypeTestCase):
account = self._getAccount('4718',
gap='fr/m9/4/47/471/4718', )
self.assertEquals(1, len(account.checkConsistency(fixit=1)))
self.assertEquals('asset/receivable', account.getAccountType())
self.assertEquals('liability/payable', account.getAccountType())
def test_AccountTypeConstaintFixFor4721(self):
account = self._getAccount('4721',
gap='fr/m9/4/47/472/4721', )
self.assertEquals(1, len(account.checkConsistency(fixit=1)))
self.assertEquals('liability/payable', account.getAccountType())
self.assertEquals('asset/receivable', account.getAccountType())
def test_AccountTypeConstaintFixFor4731(self):
account = self._getAccount('4731',
......
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