diff --git a/module/project/control.php b/module/project/control.php
index a5e97af147..c5add83279 100755
--- a/module/project/control.php
+++ b/module/project/control.php
@@ -2171,7 +2171,9 @@ class project extends control
$this->loadModel('program');
$this->loadModel('execution');
- $project = $this->project->getById($projectID);
+ $project = $this->project->getById($projectID);
+ if(!$project->hasProduct) return print(js::error($this->lang->project->cannotManageProducts) . js::locate('back'));
+
$executions = $this->execution->getPairs($projectID);
if(!empty($_POST))
diff --git a/module/project/lang/de.php b/module/project/lang/de.php
index 9f10afb9ee..c20065db0f 100644
--- a/module/project/lang/de.php
+++ b/module/project/lang/de.php
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
-$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
\ No newline at end of file
+$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
+
+$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
diff --git a/module/project/lang/en.php b/module/project/lang/en.php
index 291bff2889..d7be342e04 100644
--- a/module/project/lang/en.php
+++ b/module/project/lang/en.php
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
-$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
\ No newline at end of file
+$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
+
+$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
diff --git a/module/project/lang/fr.php b/module/project/lang/fr.php
index 55285fa342..e7b8bcdea6 100644
--- a/module/project/lang/fr.php
+++ b/module/project/lang/fr.php
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
-$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
\ No newline at end of file
+$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
+
+$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
diff --git a/module/project/lang/vi.php b/module/project/lang/vi.php
index ef618f941a..3dc375ce0a 100644
--- a/module/project/lang/vi.php
+++ b/module/project/lang/vi.php
@@ -373,3 +373,5 @@ $lang->project->action = new stdclass();
$lang->project->action->managed = '$date, managed by $actor. $extra' . "\n";
$lang->project->multiple = "Multi {$lang->executionCommon}";
+
+$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
diff --git a/module/project/lang/zh-cn.php b/module/project/lang/zh-cn.php
index b7dfef7811..d6aecc903f 100644
--- a/module/project/lang/zh-cn.php
+++ b/module/project/lang/zh-cn.php
@@ -385,3 +385,5 @@ $lang->project->copyProject->daysTips = '『可用工作日』应当
$lang->project->linkBranchStoryByPlanTips = "项目按计划关联需求时,只导入本项目所关联%s的激活状态的需求。";
$lang->project->linkNormalStoryByPlanTips = "项目按计划关联需求时,只导入激活状态的需求。";
+
+$lang->project->cannotManageProducts = "该项目为项目型项目,不能关联产品。";
diff --git a/module/project/lang/zh-tw.php b/module/project/lang/zh-tw.php
index ceafb35e2c..de7690dede 100644
--- a/module/project/lang/zh-tw.php
+++ b/module/project/lang/zh-tw.php
@@ -300,3 +300,5 @@ $lang->project->confirmUnlinkMember = "您確定從該項目中移除該用戶
$lang->project->action = new stdclass();
$lang->project->action->managed = '$date, 由 $actor 維護。$extra' . "\n";
+
+$lang->project->cannotManageProducts = "該項目為項目型項目,不能關聯產品。";