From d4d26662fb68ac5f2a751cd433460bdbe23a6d95 Mon Sep 17 00:00:00 2001 From: Yenthe666 <yenthevg@gmail.com> Date: Sun, 22 Dec 2019 13:00:15 +0000 Subject: [PATCH] [ADD] l10n_pl: add Polish states to localization Courtesy of karol185 - based on #37429 Since Poland does not require states (https://www.bitboost.com/ref/international-address-formats/poland/) Add them in the l10n_pl module and not with the other states in the base module closes odoo/odoo#42273 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com> --- addons/l10n_pl/__manifest__.py | 1 + addons/l10n_pl/data/res.country.state.csv | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 addons/l10n_pl/data/res.country.state.csv diff --git a/addons/l10n_pl/__manifest__.py b/addons/l10n_pl/__manifest__.py index 8f55048b75a8..de1a18a265d0 100644 --- a/addons/l10n_pl/__manifest__.py +++ b/addons/l10n_pl/__manifest__.py @@ -28,6 +28,7 @@ WewnÄ™trzny numer wersji OpenGLOBE 1.02 'data': [ 'data/l10n_pl_chart_data.xml', 'data/account.account.template.csv', + 'data/res.country.state.csv', 'data/l10n_pl_chart_post_data.xml', 'data/account_data.xml', 'data/account_tax_report_data.xml', diff --git a/addons/l10n_pl/data/res.country.state.csv b/addons/l10n_pl/data/res.country.state.csv new file mode 100644 index 000000000000..81a67e7e3575 --- /dev/null +++ b/addons/l10n_pl/data/res.country.state.csv @@ -0,0 +1,17 @@ +"id","country_id:id","name","code" +state_pl_ds,pl,"dolnoÅ›lÄ…skie","DÅš" +state_pl_kp,pl,"kujawsko-pomorskie","KP" +state_pl_lb,pl,"lubelskie","LB" +state_pl_ls,pl,"lubuskie","LS" +state_pl_ld,pl,"łódzkie","ÅD" +state_pl_mp,pl,"maÅ‚opolskie","MP" +state_pl_mz,pl,"mazowieckie","MZ" +state_pl_op,pl,"opolskie","OP" +state_pl_pk,pl,"podkarpackie","PK" +state_pl_pl,pl,"podlaskie","PL" +state_pl_pm,pl,"pomorskie","PM" +state_pl_sl,pl,"Å›lÄ…skie","ÅšL" +state_pl_sk,pl,"Å›wiÄ™tokrzyskie","ÅšK" +state_pl_wm,pl,"warmiÅ„sko-mazurskie","WM" +state_pl_wp,pl,"wielkopolskie","WP" +state_pl_zp,pl,"zachodniopomorskie","ZP" -- GitLab