Split 49 modules/suites into independent git repos; untrack from monorepo
Some checks failed
fusion_accounting CI / test (fusion_accounting_ai) (push) Has been cancelled
fusion_accounting CI / test (fusion_accounting_core) (push) Has been cancelled
fusion_accounting CI / test (fusion_accounting_migration) (push) Has been cancelled

Each top-level module/suite folder is now its own private repo on GitHub
(gsinghpal/<name>) and gitea (admin/<name>), with a fresh single initial
commit. The monorepo no longer tracks them (added to .gitignore + git rm
--cached); working-tree files are retained on disk and managed in their
own repos. The monorepo keeps shared root files (CLAUDE.md, docs/, scripts/,
tools/, AGENTS.md, WIP/obsolete dirs) and full history.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-06-07 01:54:34 -04:00
parent 2a7b315e98
commit a66cdefc01
6740 changed files with 51 additions and 1277207 deletions

View File

@@ -1 +0,0 @@
from . import test_l10n_ca

View File

@@ -1,36 +0,0 @@
from datetime import date
from odoo.tests import tagged
from odoo.tests.common import TransactionCase
@tagged("post_install", "-at_install")
class TestL10nCa(TransactionCase):
def test_canadian_reports_seeded(self):
Report = self.env["fusion.report"].sudo()
ca_bs = Report.search([("code", "=", "ca_balance_sheet")], limit=1)
ca_pl = Report.search([("code", "=", "ca_profit_loss")], limit=1)
self.assertTrue(ca_bs, "ca_balance_sheet not seeded")
self.assertTrue(ca_pl, "ca_profit_loss not seeded")
self.assertEqual(ca_bs.report_type, "balance_sheet")
self.assertEqual(ca_pl.report_type, "pnl")
def test_canadian_pnl_runs_via_engine(self):
from odoo.addons.fusion_accounting_reports.services.date_periods import Period
period = Period(date(2025, 1, 1), date(2025, 12, 31), "FY 2025")
result = self.env["fusion.report.engine"].compute_pnl(
period, report_code="ca_profit_loss",
)
self.assertEqual(result["report_name"], "Profit and Loss (Canada)")
self.assertGreater(len(result["rows"]), 0)
def test_tax_return_create(self):
ret = self.env["fusion.tax.return"].create({
"return_type": "gst_hst",
"date_from": date(2025, 1, 1),
"date_to": date(2025, 3, 31),
})
self.assertNotEqual(ret.name, "New")
self.assertEqual(ret.state, "draft")