Merge pull request #13555 from atm-gauthier/fix_cabyprodserv
FIX : some others modules (like subtotal) use other product_type than…
This commit is contained in:
commit
70e71d32c7
@ -243,6 +243,7 @@ if ($modecompta == 'CREANCES-DETTES')
|
||||
}
|
||||
$sql.= " WHERE l.fk_facture = f.rowid";
|
||||
$sql.= " AND f.fk_statut in (1,2)";
|
||||
$sql.= " AND l.product_type in (0,1)";
|
||||
if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) {
|
||||
$sql.= " AND f.type IN (0,1,2,5)";
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user