forked from Wavyzz/dolibarr
deprecate set_as_client
This commit is contained in:
@@ -505,7 +505,7 @@ class Commande extends CommonOrder
|
||||
$soc->fetch($this->socid);
|
||||
|
||||
// Class of company linked to order
|
||||
$result = $soc->set_as_client();
|
||||
$result = $soc->setAsCustomer();
|
||||
|
||||
// Define new ref
|
||||
if (!$error && (preg_match('/^[\(]?PROV/i', $this->ref) || empty($this->ref))) { // empty should not happened, but when it occurs, the test save life
|
||||
|
||||
Reference in New Issue
Block a user