2
0
forked from Wavyzz/dolibarr

Merge branch 'develop' into 14a19

This commit is contained in:
Laurent Destailleur
2021-02-20 17:08:23 +01:00
committed by GitHub
9 changed files with 35 additions and 29 deletions

View File

@@ -3230,7 +3230,10 @@ abstract class CommonObject
// Specific code for backward compatibility with old field names
if ($this->element == 'facture' || $this->element == 'facturerec') $fieldht = 'total';
if ($this->element == 'facture_fourn' || $this->element == 'invoice_supplier') $fieldtva = 'total_tva';
if ($this->element == 'propal') $fieldttc = 'total';
if ($this->element == 'propal') {
$fieldttc = 'total';
$fieldtva = 'total_tva';
}
if ($this->element == 'expensereport') $fieldtva = 'total_tva';
if ($this->element == 'supplier_proposal') $fieldtva = 'total_tva';