FIx : addline() $type default value is misleading

It should refer to a Product type, not an Invoice type.
This commit is contained in:
jyhere 2021-12-30 10:17:03 +01:00 committed by GitHub
parent 828826c6a2
commit ddb8b406a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3147,7 +3147,7 @@ class Facture extends CommonInvoice
$fk_remise_except = '',
$price_base_type = 'HT',
$pu_ttc = 0,
$type = self::TYPE_STANDARD,
$type = Product::TYPE_PRODUCT,
$rang = -1,
$special_code = 0,
$origin = '',