feat(fusion_accounting_ai): add Followup and Assets data adapters
Made-with: Cursor
This commit is contained in:
@@ -74,3 +74,19 @@ class TestReportsAdapter(TransactionCase):
|
||||
for row in result:
|
||||
self.assertIn('account_id', row)
|
||||
self.assertIn('balance', row)
|
||||
|
||||
|
||||
@tagged('post_install', '-at_install')
|
||||
class TestFollowupAdapter(TransactionCase):
|
||||
def test_overdue_invoices_returns_list(self):
|
||||
adapter = get_adapter(self.env, 'followup')
|
||||
rows = adapter.overdue_invoices(days_overdue=30)
|
||||
self.assertIsInstance(rows, list)
|
||||
|
||||
|
||||
@tagged('post_install', '-at_install')
|
||||
class TestAssetsAdapter(TransactionCase):
|
||||
def test_list_assets_returns_list(self):
|
||||
adapter = get_adapter(self.env, 'assets')
|
||||
rows = adapter.list_assets()
|
||||
self.assertIsInstance(rows, list)
|
||||
|
||||
Reference in New Issue
Block a user