diff options
| author | jbw <jbw@odoo.com> | 2019-11-14 15:32:38 +0000 |
|---|---|---|
| committer | jbw <jbw@odoo.com> | 2019-11-28 15:35:42 +0000 |
| commit | 6c9a7592a47f4a416827ce5dd561fd6f9edaa26d (patch) | |
| tree | 98e45c6923676f6288d7c5555357fcf7bba3dbc4 /odoo/addons/base/data | |
| parent | f98b397dc8e9610aa2262fff7794510dc0740e47 (diff) | |
[IMP] various : remove-bic-constraint-on-sepa-operations
{ As the SEPA BIC is no longer mandatory we simplify bank creation removing constrains about BIC }
As of 01/02/2016, the BIC is no longer mandatory, you can see the page 25 ==> https://www.febelfin.be/sites/default/files/2019-04/standard-xml-sdd-initiation-_v4.1a-en.pdf
As a result, in order to simplify both the code and the process, we don’t want anymore constrains about that.
task : https://www.odoo.com/web#id=2056370&action=327&model=project.task&view_type=form&menu_id=4720
> We don't need BIC for both the company iban bank account or customer/vendor iban bank account
> If a vendor bill is linked to a valid IBAN bank account without BIC, show the QRcode (remove the BIC constrains )
> CREATE A SDD mandate should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
> Create a SCT payment should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
> Add a country group for SEPA zone
> Add IBAN country codes for each country in base_iban module
> Only display qr code when making a payment to an IBAN account whose country code corresponds to a SEPA member
> in account's post init hook, install SEPA modules if the country of the company belgons to SEPA zone (instead of Europe, as it is now)
closes odoo/odoo#40356
Related: odoo/enterprise#6738
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base/data')
| -rw-r--r-- | odoo/addons/base/data/res_country_data.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/odoo/addons/base/data/res_country_data.xml b/odoo/addons/base/data/res_country_data.xml index 70820a3953b..79076a097e7 100644 --- a/odoo/addons/base/data/res_country_data.xml +++ b/odoo/addons/base/data/res_country_data.xml @@ -1033,7 +1033,7 @@ <field eval="692" name="phone_code" /> </record> <record id="mk" model="res.country"> - <field name="name">Macedonia, the former Yugoslav Republic of</field> + <field name="name">North Macedonia</field> <field name="code">mk</field> <field file="base/static/img/country_flags/mk.png" name="image" type="base64" /> <field name="currency_id" ref="MKD" /> @@ -1820,5 +1820,20 @@ ref('ec'),ref('fk'),ref('gs'),ref('gf'),ref('gy'), ref('py'),ref('pe'),ref('sr'),ref('uy'),ref('ve')])]"/> </record> + + <record id="sepa_zone" model="res.country.group"> + <field name="name">SEPA Countries</field> + <field name="country_ids" eval="[(6,0,[ + ref('ad'),ref('at'),ref('ax'),ref('be'),ref('bg'), + ref('bl'),ref('ch'),ref('cy'),ref('cz'),ref('de'), + ref('dk'),ref('ee'),ref('es'),ref('fi'),ref('fr'), + ref('uk'),ref('gf'),ref('gg'),ref('gi'),ref('gp'), + ref('gr'),ref('hr'),ref('hu'),ref('ie'),ref('im'), + ref('is'),ref('it'),ref('je'),ref('li'),ref('lt'), + ref('lu'),ref('lv'),ref('mc'),ref('mf'),ref('mq'), + ref('mt'),ref('nl'),ref('no'),ref('pl'),ref('pm'), + ref('pt'),ref('re'),ref('ro'),ref('se'),ref('si'), + ref('sk'),ref('sm'),ref('va'),ref('yt')])]"/> + </record> </data> </odoo> |
