Merge pull request #1549 from atm-maxime/develop
Fix : proposal validation was converting third as customer
This commit is contained in:
commit
693529c40b
@ -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)))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user