Merge pull request #24403 from BadPixxel/patch-9
FIX: Invoice Thirdparty never loaded at this point
This commit is contained in:
commit
63947b4ded
@ -362,6 +362,7 @@ class PaiementFourn extends Paiement
|
||||
$newlang = '';
|
||||
$outputlangs = $langs;
|
||||
if (getDolGlobalInt('MAIN_MULTILANGS') && empty($newlang)) {
|
||||
$invoice->fetch_thirdparty();
|
||||
$newlang = $invoice->thirdparty->default_lang;
|
||||
}
|
||||
if (!empty($newlang)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user