Refactor Dockerfile and update models and frontend components

- Removed the APP_VERSION argument from the Dockerfile and added TARGETARCH for architecture-specific wkhtmltopdf installation.
- Updated models.py to reintroduce the import of PartCountry for consistency.
- Enhanced parts.ts interface by adding new optional fields: immex_type, disable_movements, pga_program_code, non_discharge_clients, bom_items, and countries.
- Changed formType default in partForm.svelte and edit page to 'fa' for better alignment with the intended functionality.
- Improved type handling for non_discharge_clients in partForm.svelte.
- Adjusted column span logic in partForm.svelte for better rendering.
- Fixed image error handling in partForm.svelte for improved user experience.
- Updated license expiration date calculation in init_first_time.sh for compatibility with macOS.
This commit is contained in:
AlexeerCT
2026-03-13 16:53:42 -06:00
parent dfa44aaff7
commit ef5564dd25
6 changed files with 20 additions and 14 deletions

View File

@@ -26,6 +26,7 @@ from api.v1.modules.public.reference_data.currency_types.models import CurrencyT
from api.v1.modules.a24.fa.fa_parts.models import FaPart
from api.v1.modules.a24.inv.inv_parts.models import InvPart
from api.v1.modules.a24.inv.bom.models import BillOfMaterial
from api.v1.modules.a24.inv.part_countries.models import PartCountry
if TYPE_CHECKING:
@@ -33,7 +34,6 @@ if TYPE_CHECKING:
from api.v1.modules.a76.general_catalogs.units_of_measure.models import (
UnitOfMeasure,
)
from api.v1.modules.a24.inv.part_countries.models import PartCountry
class Part(Base, TenantScopedMixin, TimestampMixin):