This commit is contained in:
zhouxin
2024-05-13 15:48:05 +08:00
parent 2d90ef08d5
commit 1206a57fbd
+1 -1
View File
@@ -1720,7 +1720,7 @@ class storyTao extends storyModel
/* Batch create button. */
$shadow = $this->dao->findByID($story->product)->from(TABLE_PRODUCT)->fetch('shadow');
$canBatchCreateStory = $this->isClickable($story, 'batchcreate');
if($this->app->rawModule != 'projectstory' || $this->config->vision == 'lite' || $shadow)
if($this->app->rawModule != 'projectstory' || $story->type == 'requirement' || $this->config->vision == 'lite' || $shadow)
{
if($shadow and empty($taskGroups[$story->id])) $taskGroups[$story->id] = $this->dao->select('id')->from(TABLE_TASK)->where('story')->eq($story->id)->fetch('id');