diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index 3446ec5f90cc255181094ddbada2cc4588dd8eb1..3349661801957a15fffbacffa751915fec08648e 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -560,7 +560,7 @@ class CommonObject
 		if ($this->element == 'societe') $alias = 'te';
 		
 		// Sharings between entities
-		if ($conf->global->MAIN_MODULE_MULTICOMPANY)
+		if ($conf->global->MAIN_MODULE_MULTICOMPANY && $this->ismultientitymanaged == 1)
 		{
 			dol_include_once('/multicompany/class/actions_multicompany.class.php');
 			$mc = new ActionsMulticompany($db);