fix: buy.py update field_to_perm 库位权限码 inbound_buy:warehouse_location → inbound_buy:warehouse_loc,对齐 sys_element

This commit is contained in:
yueli
2026-07-20 14:21:22 +08:00
parent f6c1dedd22
commit 3dca2b9254

View File

@ -190,7 +190,7 @@ def update_buy(id):
'stock_quantity': 'inbound_buy:stock_quantity', 'stock_quantity': 'inbound_buy:stock_quantity',
'available_quantity': 'inbound_buy:available_quantity', 'available_quantity': 'inbound_buy:available_quantity',
'inspection_status': 'inbound_buy:inspection_status', 'inspection_status': 'inbound_buy:inspection_status',
'warehouse_location': 'inbound_buy:warehouse_location', 'warehouse_location': 'inbound_buy:warehouse_loc',
'unit_price': 'inbound_buy:unit_price', 'unit_price': 'inbound_buy:unit_price',
'post_tax_unit_price': 'inbound_buy:post_tax_unit_price', 'post_tax_unit_price': 'inbound_buy:post_tax_unit_price',
'tax_rate': 'inbound_buy:tax_rate', 'tax_rate': 'inbound_buy:tax_rate',