From 93c8c2d93ffe603ec3a8d352425c9d145426d7ff Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Mon, 12 Jun 2023 12:13:23 +0200 Subject: [PATCH] fix: error in workspace patch (#21335) --- frappe/patches/v14_0/update_workspace2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/patches/v14_0/update_workspace2.py b/frappe/patches/v14_0/update_workspace2.py index 1a322c1f84..d7f03b3184 100644 --- a/frappe/patches/v14_0/update_workspace2.py +++ b/frappe/patches/v14_0/update_workspace2.py @@ -70,7 +70,7 @@ def update_workspace(doc, seq, content): doc.sequence_id = seq + 1 doc.content = json.dumps(content) doc.public = 0 if doc.for_user else 1 - doc.title = doc.extends or doc.label + doc.title = doc.get("extends") or doc.get("label") doc.extends = "" doc.category = "" doc.onboarding = ""