in case of old code in other part makes a direct assignation

This commit is contained in:
Eric Seigne 2025-02-07 15:13:20 +01:00
parent d288fe74a2
commit 03340d6016

View File

@ -2522,6 +2522,9 @@ class Facture extends CommonInvoice
if (isset($this->retained_warranty)) {
$this->retained_warranty = floatval($this->retained_warranty);
}
if (!isset($this->fk_user_author) && isset($this->user_author) ) {
$this->fk_user_author = $this->user_author;
}
// Check parameters