Merge pull request #21267 from fboitel/fboitel-dev-scrutinizer-011
BUG FIX pays_code has become country_code on commonObject
This commit is contained in:
commit
55383bb032
@ -133,8 +133,8 @@ class doc_generic_task_odt extends ModelePDFTask
|
||||
|
||||
// Get source company
|
||||
$this->emetteur = $mysoc;
|
||||
if (!$this->emetteur->pays_code) {
|
||||
$this->emetteur->pays_code = substr($langs->defaultlang, -2); // By default, if was not defined
|
||||
if (!$this->emetteur->country_code) {
|
||||
$this->emetteur->country_code = substr($langs->defaultlang, -2); // By default, if was not defined
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user