Agregar Cotización Web (UDO) para cliente Aberio
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f58f4292c3
commit
cdd4ffaff8
20 files changed
+1277
-17
No files matched your search
@@ -0,0 +1,14 @@
|
||||
from core.crud_router import make_crud_router
|
||||
|
||||
# CRUD genérico del objeto de usuario (UDO) "CotizacionWEB": documento propio
|
||||
# (cabecera @OQUT + detalle @UQT1) con la misma forma que cualquier
|
||||
# documento estándar de SAP expuesto por Service Layer (StockTransferLines,
|
||||
# DocumentLines, etc. son el mismo patrón): un array anidado, acá llamado
|
||||
# "QUT1Collection". El backend no transforma nada, el frontend arma el JSON
|
||||
# completo (campos U_* de la cabecera + QUT1Collection) y lo manda tal cual.
|
||||
router = make_crud_router(
|
||||
"CotizacionWEB",
|
||||
tags=["Cotización Web"],
|
||||
key_field="DocEntry",
|
||||
supports_orderby=True,
|
||||
)
|
||||
Reference in new issue
Block a user