Merge branch 'feature/reportes_facturas' into development

This commit is contained in:
2026-01-21 12:12:23 -06:00
92 changed files with 6924 additions and 1822 deletions

View File

@@ -7,11 +7,11 @@ class Container(Base):
__tablename__ = "containers" # GContenedores
__table_args__ = (
PrimaryKeyConstraint("key", name="containers_pkey"),
{"schema": "public", "extend_existing": True}, # opcional
{"extend_existing": True}, # opcional
)
key: Mapped[str] = mapped_column(
String(3), nullable=False
String(3), primary_key=True, nullable=False
) # mantiene ceros iniciales
description: Mapped[str] = mapped_column(
String(500), nullable=False

View File

@@ -11,7 +11,7 @@ class MaterialType(Base):
)
key: Mapped[str] = mapped_column(
String(10), nullable=False) # clave del material
String(10), primary_key=True, nullable=False) # clave del material
type: Mapped[str] = mapped_column(String(15), nullable=False) # tipo
description: Mapped[str] = mapped_column(
String(256), nullable=False