Component evidence

Stock Domain Choice Constants (models/choices.py)

koalixcrm · koalixcrm/stock/models/choices.py · python · BSD-3-Clause
crmposlang:pythonfw:djangotag:logistics

Defines standardized enum-style constants for stock management and inventory tracking. Use these to maintain consistency across warehouse and logistics domain models.

Source preview first 800 characters · full source over MCP
# Source: https://github.com/KoalixSwitzerland/koalixcrm | License: BSD-3-Clause | Copyright 2009-2026, Aaron Riedener, Untereggen, Switzerland
# Provided via justclaw.it.com; keep this notice with the code.
# -*- coding: utf-8 -*-
"""Enum-style choice constants for the stock domain backbone.

Ratified by ADR-0009 (Lager-Domänen-Backbone, incl. Amendment 2026-05-04
`LAYER` and Amendment 2026-06-28 `ProductVariant` rekey) and ADR-0012
(Lebenszeit, Charge, Los und Seriennummernverfolgung, incl. Amendment
2026-07-04 `ProductVariant` rekey). `LocationType`-Enum-Werte are global,
platform-wide lookup values per the ADR-0009 Workspace-Scoping-Matrix — not
workspace-scoped rows.
"""
from __future__ import annotations

from django.db import models
from django.utils.translation import gettext_lazy 

... (truncated -- full source via MCP)