From c242d665300e1eb3e6890d2684b2f2bc2b0faf81 Mon Sep 17 00:00:00 2001 From: simnandez Date: Fri, 23 Aug 2013 18:03:16 +0200 Subject: [PATCH] Fix: [ bug #1039 ] Pre-defined invoices conversion --- ChangeLog | 2 +- htdocs/compta/facture/fiche-rec.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64b3c928f3718..98e13fb35eee5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ Fix: Fix bug with canvas thirdparty Fix: [ bug #1037 ] Consumption> Supplier invoices related Fix: User group name do not display in card (view or edit mode) Fix: Link "Show all supplier invoice" on suplier card not working - +Fix: [ bug #1039 ] Pre-defined invoices conversion ***** ChangeLog for 3.4 compared to 3.3.* ***** For users: diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 072b34a54f4d0..8a550fe56bf01 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -2,7 +2,8 @@ /* Copyright (C) 2002-2003 Rodolphe Quiedeville * Copyright (C) 2004-2012 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2013 Florian Henry + * Copyright (C) 2013 Florian Henry + * Copyright (C) 2013 Juanjo Menent * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -115,7 +116,7 @@ { print_fiche_titre($langs->trans("CreateRepeatableInvoice")); - $object = new FactureRec($db); // Source invoice + $object = new Facture($db); // Source invoice $product_static = new Product($db); if ($object->fetch($id) > 0)