forked from Wavyzz/dolibarr
Deprecated method set_billed() on shipment and reception class has been
removed. Use setBilled() instead.
This commit is contained in:
@@ -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)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user