From 3dca2b9254ce461ca795c713a9f78b8bf727e2c5 Mon Sep 17 00:00:00 2001 From: yueli Date: Mon, 20 Jul 2026 14:21:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20buy.py=20update=20field=5Fto=5Fperm=20?= =?UTF-8?q?=E5=BA=93=E4=BD=8D=E6=9D=83=E9=99=90=E7=A0=81=20inbound=5Fbuy:w?= =?UTF-8?q?arehouse=5Flocation=20=E2=86=92=20inbound=5Fbuy:warehouse=5Floc?= =?UTF-8?q?=EF=BC=8C=E5=AF=B9=E9=BD=90=20sys=5Felement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-backend/app/api/v1/inbound/buy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-backend/app/api/v1/inbound/buy.py b/inventory-backend/app/api/v1/inbound/buy.py index 2d00d57..67b8426 100644 --- a/inventory-backend/app/api/v1/inbound/buy.py +++ b/inventory-backend/app/api/v1/inbound/buy.py @@ -190,7 +190,7 @@ def update_buy(id): 'stock_quantity': 'inbound_buy:stock_quantity', 'available_quantity': 'inbound_buy:available_quantity', 'inspection_status': 'inbound_buy:inspection_status', - 'warehouse_location': 'inbound_buy:warehouse_location', + 'warehouse_location': 'inbound_buy:warehouse_loc', 'unit_price': 'inbound_buy:unit_price', 'post_tax_unit_price': 'inbound_buy:post_tax_unit_price', 'tax_rate': 'inbound_buy:tax_rate',