Explorar el Código

Merge branch 'dev'

prodstable
Guillaume Bourgeois hace 2 años
padre
commit
e08d2533fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/models/Document.php

+ 1
- 1
common/models/Document.php Ver fichero

@@ -287,7 +287,7 @@ class Document extends ActiveRecordCommon
{
$filenameComplete = $this->getFilenameComplete();

if (!file_exists($filenameComplete)) {
if (!file_exists($filenameComplete) || $this->isStatusDraft()) {
$this->generatePdf(Pdf::DEST_FILE);
}


Cargando…
Cancelar
Guardar