fetch optionals in accountline class

c97c185368/htdocs/install/mysql/migration/16.0.0-17.0.0.sql (L148-L156)
This commit is contained in:
Frédéric FRANCE 2022-11-29 22:03:29 +01:00 committed by GitHub
parent c97c185368
commit f3aa42d095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1951,6 +1951,10 @@ class AccountLine extends CommonObject
$this->bank_account_ref = $obj->bank_account_ref; $this->bank_account_ref = $obj->bank_account_ref;
$this->bank_account_label = $obj->bank_account_label; $this->bank_account_label = $obj->bank_account_label;
// Retrieve all extrafield
// fetch optionals attributes and labels
$this->fetch_optionals();
$ret = 1; $ret = 1;
} }
$this->db->free($result); $this->db->free($result);