diff --git a/html/ajax.php b/html/ajax.php
index 2d32d7521..a58f7a40b 100644
--- a/html/ajax.php
+++ b/html/ajax.php
@@ -37,6 +37,8 @@ $g_parameter=new Noalyss_Parameter_Folder($cn);
$g_user=new Noalyss_user($cn);
$g_user->check(true);
IDate::set_firstDate($g_user->get_first_week_day());
+ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
+
set_language();
/* if a code has been asked */
if (isset($_REQUEST['plugin_code']) )
diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index 7f40a9c42..ce27ce175 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -98,6 +98,7 @@ else
}
IDate::set_firstDate($g_user->get_first_week_day());
+ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
// For progress bar, for saving time , we check and answer directly
if ($op == "progressBar") {
diff --git a/html/do.php b/html/do.php
index 88ad76d4d..cfbedb552 100644
--- a/html/do.php
+++ b/html/do.php
@@ -58,7 +58,9 @@ $cn = Dossier::connect();
global $g_user, $cn,$g_parameter,$http;
$g_user = new Noalyss_user($cn);
$http=new HttpInput();
+
IDate::set_firstDate($g_user->get_first_week_day());
+ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));
diff --git a/include/ajax/ajax_preference.php b/include/ajax/ajax_preference.php
index e170e949e..f0374f5ec 100644
--- a/include/ajax/ajax_preference.php
+++ b/include/ajax/ajax_preference.php
@@ -192,6 +192,22 @@ if ( $action == 'display_form' )
+