From 7f023d7456ff5383ab5ec0d20034d2bb64d52734 Mon Sep 17 00:00:00 2001 From: joan Date: Mon, 10 Oct 2022 12:23:40 +0200 Subject: [PATCH] Set user default warehouse --- modules/item/front/diary/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/item/front/diary/index.js b/modules/item/front/diary/index.js index 6d912ebe8..c997ea491 100644 --- a/modules/item/front/diary/index.js +++ b/modules/item/front/diary/index.js @@ -27,7 +27,7 @@ class Controller extends Section { if (this.$params.warehouseFk) this.warehouseFk = this.$params.warehouseFk; else if (value) - this.warehouseFk = value.itemType.warehouseFk; + this.warehouseFk = this.vnConfig.warehouseFk; if (this.$params.lineFk) this.lineFk = this.$params.lineFk;