From 8e1f9c8d708abd69e79470703bec8db4147c27f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Mon, 22 Sep 2014 00:07:10 +0200 Subject: [PATCH] Added missing function in Expedition::generateDocument --- htdocs/expedition/class/expedition.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php index 9aea7ada0eb..f7edddc0d47 100644 --- a/htdocs/expedition/class/expedition.class.php +++ b/htdocs/expedition/class/expedition.class.php @@ -1561,6 +1561,8 @@ class Expedition extends CommonObject $modelpath = "core/modules/expedition/doc/"; + $this->fetch_origin(); + return $this->commonGenerateDocument($modelpath, $modele, $outputlangs, 0, 0, 0); }