Files
plantillas-proyectos/backend/api/v1/modules/public/reference_data/incoterms/seed.py
acazares 58a2f0ade6 Add reference data models and seed data for incoterms, invoice types, material types, payment methods, pedimento codes, pedimento regimens, sectors, states, transport modes, transport types, and valuation methods
- Implemented SQLAlchemy models for incoterms, invoice types, material types, payment methods, pedimento codes, pedimento regimens, sectors, states, transport modes, transport types, and valuation methods.
- Added seed data for each reference data model to populate the database with initial values.
- Ensured primary key constraints and appropriate data types for each model.
- Established relationships where necessary, particularly in pedimento codes and regimens.
2025-10-19 19:03:15 -05:00

13 lines
697 B
Python

seed = [
("EXW", "A LA SALIDA", "EX WORKS"),
("FCA", "SIN PAGO DE TRANSPORTE PRINCIPAL", "FREE CARRIER"),
("CPT", "TRANSPORTE PAGADO HASTA", "CARRIAGE PAID TO"),
("CIP", "TRANSPORTE Y SEGUROS PAGADOS", "CARRIAGE AND INSURANCE PAID TO"),
("DPU", "ENTREGA EN LUGAR DESCARGADO", "DELIVERED AT PLACE UNLOADED"),
("DAP", "ENTREGA EN LUGAR", "DELIVERED AT PLACE"),
("DDP", "ENTREGA DERECHOS PAGADOS", "DELIVERED DUTY PAID"),
("FAS", "PUERTO DE EMBARQUE CONVENIDO", "FREE ALONGSIDE SHIP"),
("FOB", "PUERTO DE EMBARQUE CONVENIDO", "FREE ON BOARD"),
("CFR", "COSTO Y FLETE", "COST AND FREIGHT"),
("CIF", "COSTO, SEGURO Y FLETE", "COST, INSURANCE AND FREIGHT"),
]