optimize searcher/sort, add search/sort to balance_ref
This commit is contained in:
parent
65a0e0ce58
commit
4c44872396
6 changed files with 272 additions and 21 deletions
|
@ -307,6 +307,10 @@ class BookTestCase(object):
|
|||
Book.search_count([('balance_all', '<', Decimal('5.0'))]),
|
||||
0)
|
||||
|
||||
self.assertEqual(
|
||||
Book.search_count([('balance_ref', '<', Decimal('5.0'))]),
|
||||
0)
|
||||
|
||||
@with_transaction()
|
||||
def test_book_deny_btype_set_none(self):
|
||||
""" create cashbook, add lines,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue