printedparts stage 2: models, real 0001 baseline, tables live
Some checks failed
CI / backend (push) Successful in 1m39s
CI / naming (push) Successful in 2s
CI / frontend (push) Successful in 8s
CI / migrations-mysql (push) Failing after 8s

PrintedItem (catalog: code, name, image, cached quantityonhand,
per-item threshold, bin) and PrintedItemTransaction (the ledger:
signed quantity change attributed to a badge-resolved employee).
Both registered in PLUGIN_TABLE_OWNERS; 0001 is a post-cutover real
baseline. The migration-guard test learns the new expected head.
Routes are a placeholder ping until the next stage - the scaffold's
list route imported the deleted scaffold model, which surfaces as an
empty 'Migration error' because the alembic env imports the models
package.
This commit is contained in:
cproudlock
2026-07-16 16:57:21 -04:00
parent 8dd1fadeca
commit f5cfac33b4
10 changed files with 222 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
"""Printedparts plugin models."""
from .printedparts import Printedparts
from .printeditem import PrintedItem, PrintedItemTransaction, TRANSACTION_TYPES
__all__ = ['Printedparts']
__all__ = ['PrintedItem', 'PrintedItemTransaction', 'TRANSACTION_TYPES']