Fix : proposal validation was converting third as customer

This commit is contained in:
Maxime Kohlhaas 2014-04-23 17:50:47 +02:00
parent d98a5d4c6f
commit b9865b9ccc

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)))
{