2
0
forked from Wavyzz/dolibarr

Deprecated method set_billed() on shipment and reception class has been

removed. Use setBilled() instead.
This commit is contained in:
Laurent Destailleur
2022-10-27 02:37:08 +02:00
parent 4b7655b784
commit fb9ec11ffb
4 changed files with 9 additions and 38 deletions

View File

@@ -1641,21 +1641,6 @@ class Reception extends CommonObject
}
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Classify the reception as invoiced (used when WORKFLOW_BILL_ON_RECEPTION is on)
*
* @deprecated
* @see setBilled()
* @return int <0 if ko, >0 if ok
*/
public function set_billed()
{
// phpcs:enable
dol_syslog(get_class($this)."::set_billed is deprecated, use setBilled instead", LOG_NOTICE);
return $this->setBilled();
}
/**
* Classify the reception as invoiced (used when WORKFLOW_BILL_ON_RECEPTION is on)
*