From 63c6b736749c82b6c4bebfd191c6f257e242821b Mon Sep 17 00:00:00 2001 From: acazares Date: Thu, 19 Feb 2026 12:55:08 -0600 Subject: [PATCH] feat: update item import to use LineItem model for consistency in tasks --- backend/api/v1/modules/a76/imports/tasks.py | 3 +-- backend/main.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/api/v1/modules/a76/imports/tasks.py b/backend/api/v1/modules/a76/imports/tasks.py index dfb82e74..58ef97e3 100644 --- a/backend/api/v1/modules/a76/imports/tasks.py +++ b/backend/api/v1/modules/a76/imports/tasks.py @@ -345,8 +345,7 @@ def insert_valid_rows(self, job_id: str, model_target: str): from api.v1.modules.public.reference_data.invoice_types.models import InvoiceType from api.v1.modules.public.reference_data.customs_sections.models import CustomsSection - from api.v1.modules.a76.items.models import Item - from api.v1.modules.a76.items.line_items.models import LineItem + from api.v1.modules.a76.items.models import LineItem from api.v1.modules.a76.items.line_financials.models import LineFinancial from api.v1.modules.a76.items.line_quantities.models import LineQuantity from api.v1.modules.a76.items.line_customs.models import LineCustom diff --git a/backend/main.py b/backend/main.py index 97c804d9..b1740f07 100644 --- a/backend/main.py +++ b/backend/main.py @@ -59,7 +59,7 @@ from api.v1.modules.a76.customs_brokers.models import CustomsBroker from api.v1.modules.a76.general_catalogs.company.models import Company # Core Modules & Transactional Models -from api.v1.modules.a76.items.models import Item +from api.v1.modules.a76.items.models import LineItem from api.v1.modules.a76.items.series.models import Serie from api.v1.modules.a76.parts.models import Part from api.v1.modules.a24.fa.fa_parts.models import FaPart