Improve the frontend 3
This commit is contained in:
@@ -11,10 +11,11 @@ from shared.database.base import Base
|
||||
AuditLog = create_audit_log_model(Base)
|
||||
|
||||
from .suppliers import (
|
||||
Supplier, SupplierPriceList, PurchaseOrder, PurchaseOrderItem,
|
||||
Delivery, DeliveryItem, SupplierQualityReview, SupplierInvoice,
|
||||
SupplierType, SupplierStatus, PaymentTerms, PurchaseOrderStatus,
|
||||
DeliveryStatus, QualityRating, DeliveryRating, InvoiceStatus
|
||||
Supplier, SupplierPriceList, SupplierQualityReview,
|
||||
SupplierType, SupplierStatus, PaymentTerms, QualityRating,
|
||||
# Deprecated stubs for backward compatibility
|
||||
PurchaseOrder, PurchaseOrderItem, Delivery, DeliveryItem, SupplierInvoice,
|
||||
PurchaseOrderStatus, DeliveryStatus, DeliveryRating, InvoiceStatus
|
||||
)
|
||||
|
||||
from .performance import (
|
||||
@@ -27,35 +28,37 @@ __all__ = [
|
||||
# Supplier Models
|
||||
'Supplier',
|
||||
'SupplierPriceList',
|
||||
'PurchaseOrder',
|
||||
'PurchaseOrderItem',
|
||||
'Delivery',
|
||||
'DeliveryItem',
|
||||
'SupplierQualityReview',
|
||||
'SupplierInvoice',
|
||||
|
||||
|
||||
# Performance Models
|
||||
'SupplierPerformanceMetric',
|
||||
'SupplierAlert',
|
||||
'SupplierScorecard',
|
||||
'SupplierBenchmark',
|
||||
'AlertRule',
|
||||
|
||||
|
||||
# Supplier Enums
|
||||
'SupplierType',
|
||||
'SupplierStatus',
|
||||
'PaymentTerms',
|
||||
'PurchaseOrderStatus',
|
||||
'DeliveryStatus',
|
||||
'QualityRating',
|
||||
'DeliveryRating',
|
||||
'InvoiceStatus',
|
||||
|
||||
|
||||
# Performance Enums
|
||||
'AlertSeverity',
|
||||
'AlertType',
|
||||
'AlertStatus',
|
||||
'PerformanceMetricType',
|
||||
'PerformancePeriod',
|
||||
"AuditLog"
|
||||
"AuditLog",
|
||||
|
||||
# Deprecated stubs (backward compatibility only - DO NOT USE)
|
||||
'PurchaseOrder',
|
||||
'PurchaseOrderItem',
|
||||
'Delivery',
|
||||
'DeliveryItem',
|
||||
'SupplierInvoice',
|
||||
'PurchaseOrderStatus',
|
||||
'DeliveryStatus',
|
||||
'DeliveryRating',
|
||||
'InvoiceStatus',
|
||||
]
|
||||
Reference in New Issue
Block a user