2
0
forked from Wavyzz/dolibarr

Issue 26045 : force MAIN_PROFID1_IN_ADDRESS for fr soc

This commit is contained in:
atm-lena
2023-12-15 15:45:52 +01:00
parent 981f803ad0
commit 338f363fce
2 changed files with 5 additions and 4 deletions

View File

@@ -214,10 +214,6 @@ if (!defined('NOREQUIREDB') && !defined('NOREQUIRESOC')) {
// For DE, we need to invert our address with customer address
$conf->global->MAIN_INVERT_SENDER_RECIPIENT = 1;
}
if ($mysoc->country_code == 'FR' && !isset($conf->global->MAIN_PROFID1_IN_ADDRESS)) {
// For FR, default value of option to show profid SIRET is on by default
$conf->global->MAIN_PROFID1_IN_ADDRESS = 1;
}
if (($mysoc->localtax1_assuj || $mysoc->localtax2_assuj) && !isset($conf->global->MAIN_NO_INPUT_PRICE_WITH_TAX)) {
// For countries using the 2nd or 3rd tax, we disable input/edit of lines using the price including tax (because 2nb and 3rd tax not yet taken into account).