mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Option to solve autovalidation
This commit is contained in:
@@ -407,7 +407,10 @@ class Contrat extends CommonObject
|
|||||||
$this->fetch_thirdparty();
|
$this->fetch_thirdparty();
|
||||||
|
|
||||||
// A contract is validated so we can move thirdparty to status customer
|
// A contract is validated so we can move thirdparty to status customer
|
||||||
|
if (empty($conf->global->CONTRACT_DISABLE_AUTOSET_AS_CLIENT_ON_CONTRACT_VALIDATION))
|
||||||
|
{
|
||||||
$result=$this->thirdparty->set_as_client();
|
$result=$this->thirdparty->set_as_client();
|
||||||
|
}
|
||||||
|
|
||||||
// Define new ref
|
// Define new ref
|
||||||
if ($force_number)
|
if ($force_number)
|
||||||
|
|||||||
Reference in New Issue
Block a user