From ccb0c4304fa97c11adf294c4713bb19e6d44a47d Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Mon, 22 Dec 2025 00:42:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=BE=D0=BC=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=20?= =?UTF-8?q?=D0=B2=20WriteOffDocumentItem=20=D0=BD=D0=B0=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D0=B5=20=D0=B4=D0=B5=D0=B1=D0=B0?= =?UTF-8?q?=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Убран ID документа из отображения (было: WO-0000025, стало: WO-000002) - Теперь отображается только document_number родительского документа - Устранена путаница с номерами: WriteOffDocumentItem не имеет собственного номера --- myproject/inventory/templates/inventory/debug_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myproject/inventory/templates/inventory/debug_page.html b/myproject/inventory/templates/inventory/debug_page.html index 83f6013..547ea32 100644 --- a/myproject/inventory/templates/inventory/debug_page.html +++ b/myproject/inventory/templates/inventory/debug_page.html @@ -520,7 +520,7 @@ {% for item in writeoff_document_items %} {{ item.id }} - {{ item.document.document_number|default:"#" }}{{ item.document.id }} + {{ item.document.document_number|default:"-" }} {{ item.product.name }} {{ item.document.warehouse.name }} {{ item.quantity }}