diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index d2c26c08df7..a358f354d46 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -561,6 +561,13 @@ class Propal $this->create_commande($user); + /* Classe la société rattachée comme client */ + + $soc = new Societe($this->db); + $soc->id = $this->socidp; + $soc->set_as_client(); + + return 1; } else