From 9b36df85ddfc14ab6eba2427e1dee1840b37f6ab Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Sep 2013 13:22:28 +0200 Subject: [PATCH] Fix: invert parameters --- htdocs/product/fournisseurs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 97011f44c30..d65da9d7851 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -343,8 +343,9 @@ if ($id || $ref) // We don't have supplier, so we try to guess. // For this we build a fictive supplier with same properties than user but using vat) $mysoc2=dol_clone($mysoc); + $mysoc2->name='Fictive seller with same country'; $mysoc2->tva_assuj=1; - $default_vat=get_default_tva($mysoc2, $mysoc, 0, $product->id); + $default_vat=get_default_tva($mysoc2, $mysoc, $product->id, 0); print ''.$langs->trans("VATRateForSupplierProduct").''; print '';