feat(fusion_accounting_ai): add Followup and Assets data adapters

Made-with: Cursor
This commit is contained in:
gsinghpal
2026-04-18 23:21:14 -04:00
parent 086b24ab36
commit f8b97211ab
4 changed files with 107 additions and 0 deletions

View File

@@ -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)