kassenbuchtyp: Feld 'feature'

This commit is contained in:
Frederik Jaeckel 2022-12-21 19:12:39 +01:00
parent db84bf7097
commit 82afd24c20
9 changed files with 68 additions and 0 deletions

View file

@ -255,6 +255,8 @@ class BookTestCase(ModuleTestCase):
}])
self.assertEqual(book.name, 'Book 1')
self.assertEqual(book.btype.rec_name, 'CAS - Cash')
self.assertEqual(book.btype.feature, 'gen')
self.assertEqual(book.feature, 'gen')
self.assertRaisesRegex(UserError,
"The type cannot be deleted on the cash book 'Book 1 | 1.00 usd | Open' because it still contains 1 lines.",