Fix: [ bug #1323 ] generation of odt files for tasks.
This commit is contained in:
parent
4e619c42fa
commit
60b37dffe1
@ -43,6 +43,7 @@ Fix: Avoid home project page to hung when too many tasks opened.
|
|||||||
Fix: bug #1295: Error when creating an agenda extrafield with a number as reference
|
Fix: bug #1295: Error when creating an agenda extrafield with a number as reference
|
||||||
Fix: Translation of number for pt_PT.
|
Fix: Translation of number for pt_PT.
|
||||||
Fix: Error on ajax_constantonoff function.
|
Fix: Error on ajax_constantonoff function.
|
||||||
|
Fix: [ bug #1323 ] problème pour générer un odt depuis les taches dans projet.
|
||||||
|
|
||||||
|
|
||||||
***** ChangeLog for 3.5.1 compared to 3.5.0 *****
|
***** ChangeLog for 3.5.1 compared to 3.5.0 *****
|
||||||
|
|||||||
@ -171,7 +171,7 @@ function task_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0, $h
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$modele='baleine';
|
$modele='nodefault';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ function task_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0, $h
|
|||||||
$file = $prefix."_".$modele.".modules.php";
|
$file = $prefix."_".$modele.".modules.php";
|
||||||
|
|
||||||
// On verifie l'emplacement du modele
|
// On verifie l'emplacement du modele
|
||||||
$file=dol_buildpath($reldir."core/modules/project/pdf/".$file,0);
|
$file=dol_buildpath($reldir."core/modules/project/task/pdf/".$file,0);
|
||||||
if (file_exists($file))
|
if (file_exists($file))
|
||||||
{
|
{
|
||||||
$filefound=1;
|
$filefound=1;
|
||||||
|
|||||||
@ -526,7 +526,6 @@ class doc_generic_task_odt extends ModelePDFTask
|
|||||||
else // Text
|
else // Text
|
||||||
{
|
{
|
||||||
$odfHandler->setVars($key, $value, true, 'UTF-8');
|
$odfHandler->setVars($key, $value, true, 'UTF-8');
|
||||||
$odfHandler->setVarsHeadFooter($key, $value, true, 'UTF-8');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(OdfException $e)
|
catch(OdfException $e)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2006-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2006-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2010-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user