[*] BO: Add an option to choose to not import the behavior of taxes displaying for the groups in localization pack import
This commit is contained in:
@@ -52,6 +52,7 @@ class LocalizationPackCore
|
||||
$res &= $this->installConfiguration($xml);
|
||||
$res &= $this->installModules($xml);
|
||||
$res &= $this->_installLanguages($xml, $install_mode);
|
||||
$res &= $this->updateDefaultGroupDisplayMethod($xml);
|
||||
|
||||
if ($res && isset($this->iso_code_lang))
|
||||
{
|
||||
@@ -240,7 +241,7 @@ class LocalizationPackCore
|
||||
}
|
||||
}
|
||||
}
|
||||
return $this->updateDefaultGroupDisplayMethod($xml);
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function _installCurrencies($xml, $install_mode = false)
|
||||
@@ -388,6 +389,11 @@ class LocalizationPackCore
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function _installGroups($xml)
|
||||
{
|
||||
return $this->updateDefaultGroupDisplayMethod($xml);
|
||||
}
|
||||
|
||||
protected function updateDefaultGroupDisplayMethod($xml)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user