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,40 +0,0 @@
# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
# Part of the Fusion Plating product family.
from odoo import api, fields, models
class FpReceivingLine(models.Model):
"""Per-part-number receiving detail line.
Tracks expected vs received quantity and condition for each
distinct part number in the receiving record.
"""
_name = 'fp.receiving.line'
_description = 'Fusion Plating - Receiving Line'
_order = 'id'
receiving_id = fields.Many2one(
'fp.receiving', string='Receiving', required=True, ondelete='cascade',
)
part_catalog_id = fields.Many2one(
'fp.part.catalog', string='Part (Catalog)',
)
part_number = fields.Char(string='Part Number')
description = fields.Char(string='Description')
expected_qty = fields.Integer(string='Expected Qty')
received_qty = fields.Integer(string='Received Qty')
condition = fields.Selection(
[('good', 'Good'), ('damaged', 'Damaged'), ('mixed', 'Mixed')],
string='Condition', default='good',
)
notes = fields.Text(string='Notes')
@api.depends('part_number', 'part_catalog_id', 'received_qty', 'expected_qty')
def _compute_display_name(self):
for rec in self:
label = rec.part_number or rec.part_catalog_id.display_name or 'Receiving Line'
qty = '%d/%d' % (rec.received_qty or 0, rec.expected_qty or 0)
rec.display_name = '%s (%s)' % (label, qty)