Merge pull request #22508 from ksar-ksar/patch-17

FIX  #22507
This commit is contained in:
Laurent Destailleur 2022-10-07 23:33:07 +02:00 committed by GitHub
commit 933c9fc590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -456,7 +456,7 @@ class AccountingJournal extends CommonObject
$sql .= " SELECT DISTINCT fk_docdet";
$sql .= " FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping";
$sql .= " WHERE doc_type = 'asset'";
$sql .= ")";
$sql .= ") ";
}*/
$sql .= "SELECT ad.fk_asset AS rowid, a.ref AS asset_ref, a.label AS asset_label, a.acquisition_value_ht AS asset_acquisition_value_ht";