From 4803b12d11a28ff84f45f840f21788430dabf5b0 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Sun, 4 Oct 2009 18:28:24 +0000
Subject: [PATCH] Fix: bad previous/next id with multi-company

---
 htdocs/societe.class.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php
index 9341190fb49..0ef080a08d0 100644
--- a/htdocs/societe.class.php
+++ b/htdocs/societe.class.php
@@ -41,6 +41,7 @@ class Societe extends CommonObject
 	var $error;
 	var $errors=array();
 	var $table_element = 'societe';
+	var $ismultientitymanaged = 1;	// 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
 
 	var $id;
 	var $nom;
-- 
GitLab