From 53dfaeb0e4e8af3fac972dc6c00a0fcb4bbcb3e4 Mon Sep 17 00:00:00 2001 From: sersaber <93864988+sersaber@users.noreply.github.com> Date: Mon, 2 May 2022 06:59:43 +0200 Subject: [PATCH] feat: Copy task color from project template (#30857) Co-authored-by: Rucha Mahabal (cherry picked from commit b8a9f821a436e7c8c57c2cc58057b3e28e85e8d5) --- erpnext/projects/doctype/project/project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/projects/doctype/project/project.py b/erpnext/projects/doctype/project/project.py index 2a3e31f28911..6b691786a1a4 100644 --- a/erpnext/projects/doctype/project/project.py +++ b/erpnext/projects/doctype/project/project.py @@ -84,6 +84,7 @@ def create_task_from_template(self, task_details): type=task_details.type, issue=task_details.issue, is_group=task_details.is_group, + color=task_details.color, ) ).insert()