Backend de erp-core - Workspace V2
GAP-ENT-001: SalesOrder - aligned with sales.sales_orders DDL - Renamed name -> orderNumber - Changed currencyId (UUID) -> currency (string) - Changed paymentTermId -> paymentTermDays (int) - Added: partnerName, partnerEmail, billingAddress, shippingAddress - Added: requestedDate, promisedDate, shippedDate, deliveredDate - Added: warehouseId, discountAmount, shippingAmount - Added: shippingMethod, trackingNumber, carrier, internalNotes - Removed Odoo-style fields not in DDL GAP-ENT-002: Product - aligned with products.products DDL - Renamed salePrice -> price, costPrice -> cost - Renamed satProductCode -> taxCode, conversionFactor -> uomConversion - Added: shortDescription, volume, leadTimeDays, attributes (JSONB) - Removed: inventoryProductId, shortName, satUnitCode, tags, notes - Removed tracking fields (trackLots, trackSerials, trackExpiry) GAP-ENT-003: Partner - aligned with partners.partners DDL - Added: name (separate from displayName) - Added: taxIdType, verifiedAt, settings (JSONB) - Removed fields that belong in partner_tax_info: taxRegime, cfdiUse - Removed: currentBalance, priceListId, discountPercent, salesRepId Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| src | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| jest.config.js | ||
| package-lock.json | ||
| package.json | ||
| service.descriptor.yml | ||
| tsconfig.json | ||
| TYPEORM_DEPENDENCIES.md | ||
| TYPEORM_INTEGRATION_SUMMARY.md | ||
| TYPEORM_USAGE_EXAMPLES.md | ||