From 5c8d91ba6c817bd8215f935f672a38559251b20d Mon Sep 17 00:00:00 2001 From: Yaacov Akiba Slama Date: Fri, 12 Nov 2021 12:46:18 +0200 Subject: [PATCH 1/2] BankAccountNumber is not required. The IBAN can contain all the needed information. So there is no reason for the account number to be required --- htdocs/core/modules/modSociete.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index ca5b484499a..60e593cf3f1 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -757,7 +757,7 @@ class modSociete extends DolibarrModules 'sr.bank' => "Bank", 'sr.code_banque' => "BankCode", 'sr.code_guichet' => "DeskCode", - 'sr.number' => "BankAccountNumber*", + 'sr.number' => "BankAccountNumber", 'sr.cle_rib' => "BankAccountNumberKey", 'sr.bic' => "BIC", 'sr.iban_prefix' => "IBAN", From de435576a988144ed9059d0d05147deea09f7d1f Mon Sep 17 00:00:00 2001 From: Yaacov Akiba Slama Date: Fri, 12 Nov 2021 12:46:37 +0200 Subject: [PATCH 2/2] Allow WithdrawMode to be imported --- htdocs/core/modules/modSociete.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index 60e593cf3f1..2826091155c 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -766,6 +766,7 @@ class modSociete extends DolibarrModules 'sr.owner_address' => "BankAccountOwnerAddress", 'sr.default_rib' => 'Default', 'sr.rum' => 'RUM', + 'sr.frstrecur' => "WithdrawMode", 'sr.type' => "Type ban is defaut", ); @@ -797,6 +798,7 @@ class modSociete extends DolibarrModules 'sr.owner_address' => 'address of account holder', 'sr.default_rib' => '1 (default account) / 0 (not default)', 'sr.rum' => 'RUM code', + 'sr.frstrecur' => 'FRST', 'sr.type' => 'ban', );