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,51 +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 FpReceivingDamage(models.Model):
"""Damage log entry on a receiving record.
Documents condition issues found during parts inspection:
severity, photos, required action, and customer follow-up.
"""
_name = 'fp.receiving.damage'
_description = 'Fusion Plating - Receiving Damage'
_order = 'id'
receiving_id = fields.Many2one(
'fp.receiving', string='Receiving', required=True, ondelete='cascade',
)
description = fields.Text(string='Description', required=True, help='What is damaged.')
severity = fields.Selection(
[('cosmetic', 'Cosmetic'), ('functional', 'Functional'), ('rejected', 'Rejected')],
string='Severity', required=True, default='cosmetic',
)
photo_ids = fields.Many2many(
'ir.attachment', 'fp_receiving_damage_photo_rel', 'damage_id', 'attachment_id',
string='Photos',
)
action_required = fields.Selection(
[('none', 'None'), ('notify_customer', 'Notify Customer'),
('return_parts', 'Return Parts'), ('proceed_as_is', 'Proceed As-Is')],
string='Action Required', default='none',
)
customer_notified = fields.Boolean(string='Customer Notified')
customer_response = fields.Text(string='Customer Response')
resolved = fields.Boolean(string='Resolved')
@api.depends('severity', 'description', 'receiving_id')
def _compute_display_name(self):
labels = dict(self._fields['severity'].selection)
for rec in self:
severity = labels.get(rec.severity, rec.severity or '')
desc = (rec.description or '').strip().split('\n', 1)[0][:40]
bits = []
if severity:
bits.append(severity)
if desc:
bits.append(desc)
rec.display_name = ': '.join(bits) or 'Damage'