Merge pull request #18750 from maksimstojkovic/develop
Fix Warehouse PDF Generation Error
This commit is contained in:
commit
061cbc4266
@ -208,8 +208,6 @@ class pdf_standard extends ModelePDFStock
|
|||||||
// Load traductions files required by page
|
// Load traductions files required by page
|
||||||
$outputlangs->loadLangs(array("main", "dict", "companies", "bills", "stocks", "orders", "deliveries"));
|
$outputlangs->loadLangs(array("main", "dict", "companies", "bills", "stocks", "orders", "deliveries"));
|
||||||
|
|
||||||
$nblines = count($object->lines);
|
|
||||||
|
|
||||||
if ($conf->stock->dir_output) {
|
if ($conf->stock->dir_output) {
|
||||||
// Definition of $dir and $file
|
// Definition of $dir and $file
|
||||||
if ($object->specimen) {
|
if ($object->specimen) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user