Merge pull request #1549 from atm-maxime/develop

Fix : proposal validation was converting third as customer
This commit is contained in:
Laurent Destailleur 2014-04-23 21:18:34 +02:00
commit 693529c40b

View File

@ -1302,9 +1302,6 @@ class Propal extends CommonObject
$soc = new Societe($this->db);
$soc->fetch($this->socid);
// Class of company linked to propal
$result=$soc->set_as_client();
// Define new ref
if (! $error && (preg_match('/^[\(]?PROV/i', $this->ref)))
{