From 3936d655c4bfd845b6ead724cecdc8e7c62816eb Mon Sep 17 00:00:00 2001 From: Olivier Colson Date: Fri, 19 Apr 2019 10:06:07 +0000 Subject: [IMP] account, l10n_*: v13 taxes - Add repartition lines on taxes - Link account tags directly to account.move.line; remove the tag_ids field from account.tag - Add a new report engine dedicated to tax reports, directly generating account tags. It is called as an alternate mode of generic tax report, with a dedicated "Use tax grids" toggle. >> The biggest change lies in the way the new tax report computes its values. Everything is now aggregated directly using the tags set on the account move lines. Thanks to that, modifying the configuration of a tax today will not impact the report for the previous periods anymore. This is a big improvement, as it means the report will keep on reflecting the values that were submitted to the state before, whatever the configuration change. - Add an audit char field to account.move.line telling with tax grids are impacted by the line, with the corresponding amount - Modify the behavior of cash basis taxes: the cash basis account is now used as the transition account, while the regular account given in tax declaration is used to store the final entry (it was the opposite before) - Modify every l10n_* module in order to keep them consistent with these changes closes odoo/odoo#32833 Signed-off-by: Quentin De Paoli (qdp) --- addons/l10n_pl/__manifest__.py | 1 + addons/l10n_pl/data/account_tax_data.xml | 1458 +++++++++++++++-------- addons/l10n_pl/data/account_tax_report_data.xml | 383 ++++++ 3 files changed, 1319 insertions(+), 523 deletions(-) create mode 100644 addons/l10n_pl/data/account_tax_report_data.xml (limited to 'addons/l10n_pl') diff --git a/addons/l10n_pl/__manifest__.py b/addons/l10n_pl/__manifest__.py index 90b48a4c6f6..c12ea3c3fe1 100644 --- a/addons/l10n_pl/__manifest__.py +++ b/addons/l10n_pl/__manifest__.py @@ -30,6 +30,7 @@ Wewnętrzny numer wersji OpenGLOBE 1.02 'data/account.account.template.csv', 'data/l10n_pl_chart_post_data.xml', 'data/account_data.xml', + 'data/account_tax_report_data.xml', 'data/account_tax_data.xml', 'data/account_fiscal_position_data.xml', 'data/res_country_state_data.xml', diff --git a/addons/l10n_pl/data/account_tax_data.xml b/addons/l10n_pl/data/account_tax_data.xml index 973d05ff7b6..61d64d30648 100644 --- a/addons/l10n_pl/data/account_tax_data.xml +++ b/addons/l10n_pl/data/account_tax_data.xml @@ -2,210 +2,7 @@ - - - - Podstawa - Razem C - taxes - - - Podstawa - Dostawa towarów/usług, kraj, zwolnione - taxes - - - Podstawa - Dostawa towarów/usług, poza kraj - taxes - - - Podstawa - W tym usługi art 100.1.4 - taxes - - - Podstawa - Dostawa towarów/usług, kraj, 0% - taxes - - - Podstawa - W tym towary art 129 - taxes - - - Podstawa - Dostawa towarów/usług, kraj, 3% lub 5% - taxes - - - Podstawa - Dostawa towarów/usług, kraj, 7% lub 8% - taxes - - - Podstawa - Dostawa towarów/usług, kraj, 22% lub 23% - taxes - - - Podstawa - Wew-wspól dostawa towarów - taxes - - - Podstawa - Eksport towarów - taxes - - - Podstawa - Wewn-wspól. nabycie towarów - taxes - - - Podstawa - Import towarów art. 33a - taxes - - - Podstawa - Import usług - taxes - - - Podstawa - W tym nabycie wg art 28b - taxes - - - Podstawa - Dostawa towarów, podatnik nabywca - taxes - - - Podstawa - Dostawa towarów, podatnik nabywca bis - taxes - - - Podstawa - Razem D - taxes - - - Podstawa - Nabycie towarów i usług ś.trwałe - taxes - - - Podstawa - Nabycie towarów i usług pozostałych - taxes - - - Podstawa - Nabycie towarów i usług pozostałych bis - taxes - - - Podatek - Do przeniesienia - taxes - - - Podatek - Nadwyżka naliczonego nad należnym - taxes - - - Podatek - Do wpłaty do US - taxes - - - Podatek - Wydatek na kasy rejestrujące - taxes - - - Podatek - Objęty zaniechaniem poboru - taxes - - - Podatek - Razem C - taxes - - - Podatek - Dostawa towarów/usług, kraj, 3% lub 5% - taxes - - - Podatek - Dostawa towarów/usług, kraj, 7% lub 8% - taxes - - - Podatek - Dostawa towarów/usług, kraj, 22% lub 23% - taxes - - - Podatek - Wewn-wspól. nabycie towarów - taxes - - - Podatek - Import towarów art. 33a - taxes - - - Podatek - Import usług - taxes - - - Podatek - W tym nabycie wg art 28b - taxes - - - Podatek - Dostawa towarów, podatnik nabywca - taxes - - - Podatek - Ze spisu z natury art 14.5 - taxes - - - Podatek - Wew.wspól. nabycie środk. transp. termin - taxes - - - Podatek - Razem D - taxes - - - Podatek - Nadwyżka z poprzedniej deklaracji - taxes - - - Podatek - Naliczony ze spisu z natury, art.113 - taxes - - - Podatek - Nabycie towarów i usług ś.trwałe - taxes - - - Podatek - Nabycie towarów i usług pozostałych - taxes - - - Podatek - Nabycie towarów i usług pozostałych bis - taxes - - - Podatek - Korekta naliczonego od nabycia ś.trwałych - taxes - - - Podatek - Korekta naliczonego od pozostałych nabyć - taxes - - - Podatek - Wydatek na kasy do zwrotu w tym okresie - taxes - - - Podatek - Do zwrotu - taxes - - - Podatek - Do zwrotu 25 dni - taxes - - - Podatek - Do zwrotu 60 dni - taxes - - - Podatek - Do zwrotu 180 dni - taxes - - - # VAT domestic sale + @@ -215,10 +12,33 @@ percent sale - - - - + + + @@ -228,10 +48,33 @@ 22 percent sale - - - - + + + @@ -241,10 +84,33 @@ 8 percent sale - - - - + + + @@ -254,10 +120,33 @@ 7 percent sale - - - - + + + @@ -267,10 +156,33 @@ 5 percent sale - - - - + + + @@ -280,10 +192,33 @@ 3 percent sale - - - - + + + @@ -293,8 +228,29 @@ 0 percent sale - - + + + @@ -304,8 +260,29 @@ 0 percent sale - - + + + @@ -315,10 +292,33 @@ 23 percent sale - - - - + + + @@ -328,13 +328,36 @@ 22 percent sale - - - - + + + - # VAT domestic purchase + @@ -344,10 +367,33 @@ percent purchase - - - - + + + @@ -357,10 +403,33 @@ 22 percent purchase - - - - + + + @@ -370,10 +439,33 @@ 8 percent purchase - - - - + + + @@ -383,10 +475,33 @@ 7 percent purchase - - - - + + + @@ -396,10 +511,33 @@ 5 percent purchase - - - - + + + @@ -409,10 +547,33 @@ 3 percent purchase - - - - + + + @@ -422,8 +583,31 @@ 0 percent purchase - - + + + @@ -433,8 +617,31 @@ 0 percent purchase - - + + + @@ -444,10 +651,33 @@ 23 percent purchase - - - - + + + @@ -457,96 +687,133 @@ 22 percent purchase - - - - + + + - # Vehicle leasing - #================================================ - - - - VAT - leasing pojazdu 60% x 23%(sale) - VLP-1 - - - percent - - - none - - - - - - - VAT - leasing pojazdu 60% x 23%(purchase) - VLP-1 - - - percent - - - none - - - - - - - VAT - leasing pojazdu 40% x 23%(sale) - VLP-2 - - - percent - - - none - - - - - - VAT - leasing pojazdu 40% x 23% - VLP-2 - - - percent - - - none - - + + VAT - leasing pojazdu(sale) VLP - 1.00 + 23.00 - group + percent sale - - - + + + VAT - leasing pojazdu(purchase) VLP - 1.00 + 23.00 - group + percent purchase - - - + + + - # Steel trade + @@ -555,52 +822,81 @@ 0 percent sale - - - - - - - Zakup stali - podatek naliczony - ZST1 - - - percent - - - none - - - - - - - Zakup stali - podatek należny - ZST2 - - - percent - - - none - - + + + Zakup stali ZST - 1.0 - group + 23.0 + percent purchase - - - + + + - # Eurpean Union - #=========================================================== + + @@ -609,48 +905,77 @@ 0 percent sale - - - - - - - Nab tow unia - podatek naliczony - UNT1 - - - percent - - - none - - - - - - - Nab tow unia - podatek należny - UNT2 - - - percent - - - none - - + + + Nab tow unia UNT - 1.0 - group + 23.0 + percent purchase - - - + + + @@ -660,53 +985,82 @@ 0 percent sale - - - - - - - Nab Usł - podatek naliczony - UNU1 - - - percent - - - none - - - - - - - Nab Usł - podatek należny - UNU2 - - - percent - - - none - - + + + Nab Usł UNU - 1.0 - group + 23.0 + percent purchase - - - + + + - # Export / Import - #================================================ + + @@ -715,48 +1069,77 @@ 0 percent sale - - - - - - - Imp Tow - podatek naliczony - IMT1 - - - percent - - - none - - - - - - - Imp Tow - podatek należny - IMT2 - - - percent - - - none - - + + + Imp Tow IMT - 1.0 - group + 23.0 + percent purchase - - - + + + @@ -766,48 +1149,77 @@ 0 percent sale - - - - - - - Imp Usł - podatek naliczony - IMU1 - - - percent - - - none - - - - - - - Imp Usł - podatek należny - IMU2 - - - percent - - - none - - + + + Imp Usł IMU - 1.00 - group + 23.00 + percent purchase - - - + + + diff --git a/addons/l10n_pl/data/account_tax_report_data.xml b/addons/l10n_pl/data/account_tax_report_data.xml new file mode 100644 index 00000000000..f7b2bb21958 --- /dev/null +++ b/addons/l10n_pl/data/account_tax_report_data.xml @@ -0,0 +1,383 @@ + + + + + Podstawa - Razem C + + PLTAXC_01_10 + PLTAXC_02_11 + PLTAXC_03_13 + PLTAXC_04_15 + PLTAXC_05_17 + PLTAXC_06_19 + PLTAXC_07_21 + PLTAXC_08_22 + PLTAXC_09_23 + PLTAXC_10_25 + PLTAXC_11_27 + PLTAXC_12_31 + + + + + Podstawa - Dostawa towarów/usług, kraj, zwolnione + Podstawa - Dostawa towarów/usług, kraj, zwolnione + PLTAXC_01_10 + + + + + + + Podstawa - Dostawa towarów/usług, poza kraj + Podstawa - Dostawa towarów/usług, poza kraj + PLTAXC_02_11 + + + + + + + Podstawa - W tym usługi art 100.1.4 + Podstawa - W tym usługi art 100.1.4 + PLTAXC_02a_12 + + + + + + + Podstawa - Dostawa towarów/usług, kraj, 0% + Podstawa - Dostawa towarów/usług, kraj, 0% + PLTAXC_03_13 + + + + + + + Podstawa - W tym towary art 129 + + + + + + + Podstawa - Dostawa towarów/usług, kraj, 3% lub 5% + Podstawa - Dostawa towarów/usług, kraj, 3% lub 5% + PLTAXC_04_15 + + + + + + + Podstawa - Dostawa towarów/usług, kraj, 7% lub 8% + Podstawa - Dostawa towarów/usług, kraj, 7% lub 8% + PLTAXC_05_17 + + + + + + + Podstawa - Dostawa towarów/usług, kraj, 22% lub 23% + Podstawa - Dostawa towarów/usług, kraj, 22% lub 23% + PLTAXC_06_19 + + + + + + + Podstawa - Wew-wspól dostawa towarów + Podstawa - Wew-wspól dostawa towarów + PLTAXC_07_21 + + + + + + + Podstawa - Eksport towarów + Podstawa - Eksport towarów + PLTAXC_08_22 + + + + + + + Podstawa - Wewn-wspól. nabycie towarów + Podstawa - Wewn-wspól. nabycie towarów + PLTAXC_09_23 + + + + + + + Podstawa - Import towarów art. 33a + Podstawa - Import towarów art. 33a + PLTAXC_10_25 + + + + + + + Podstawa - Import usług + Podstawa - Import usług + PLTAXC_11_27 + + + + + + + Podstawa - W tym nabycie wg art 28b + Podstawa - W tym nabycie wg art 28b + PLTAXC_11a_29 + + + + + + + Podstawa - Dostawa towarów, podatnik nabywca + Podstawa - Dostawa towarów, podatnik nabywca + PLTAXC_12_31 + + + + + + + Podstawa - Razem D + + + + + + Podstawa - Nabycie towarów i usług ś.trwałe + + + + + + + Podstawa - Nabycie towarów i usług pozostałych + Podstawa - Nabycie towarów i usług pozostałych + PLTAXD_02_41a + + + + + + + Podatek - Do przeniesienia + + PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42 + + + + + Podatek - Nadwyżka naliczonego nad należnym + + PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42 + + + + + + Podatek - Do wpłaty do US + + PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + PLTAXD_02_42 + + + + + + Podatek - Wydatek na kasy rejestrujące + + + + + + + Podatek - Objęty zaniechaniem poboru + + + + + + + Podatek - Razem C + + PLTAXC_04_16 + PLTAXC_05_18 + PLTAXC_06_20 + PLTAXC_09_24 + PLTAXC_10_26 + PLTAXC_11_28 + PLTAXC_12_32 + + + + + + Podatek - Dostawa towarów/usług, kraj, 3% lub 5% + Podatek - Dostawa towarów/usług, kraj, 3% lub 5% + PLTAXC_04_16 + + + + + + + Podatek - Dostawa towarów/usług, kraj, 7% lub 8% + Podatek - Dostawa towarów/usług, kraj, 7% lub 8% + PLTAXC_05_18 + + + + + + + Podatek - Dostawa towarów/usług, kraj, 22% lub 23% + Podatek - Dostawa towarów/usług, kraj, 22% lub 23% + PLTAXC_06_20 + + + + + + + Podatek - Wewn-wspól. nabycie towarów + Podatek - Wewn-wspól. nabycie towarów + PLTAXC_09_24 + + + + + + + Podatek - Import towarów art. 33a + Podatek - Import towarów art. 33a + PLTAXC_10_26 + + + + + + + Podatek - Import usług + Podatek - Import usług + PLTAXC_11_28 + + + + + + + Podatek - W tym nabycie wg art 28b + Podatek - W tym nabycie wg art 28b + PLTAXC_11a_30 + + + + + + + Podatek - Dostawa towarów, podatnik nabywca + Podatek - Dostawa towarów, podatnik nabywca + PLTAXC_12_32 + + + + + + + Podatek - Ze spisu z natury art 14.5 + + + + + + + Podatek - Wew.wspól. nabycie środk. transp. termin + + + + + + + Podatek - Razem D + + + + + + + Podatek - Nadwyżka z poprzedniej deklaracji + + + + + + + Podatek - Naliczony ze spisu z natury, art.113 + + + + + + + Podatek - Nabycie towarów i usług ś.trwałe + + + + + + + Podatek - Nabycie towarów i usług pozostałych + Podatek - Nabycie towarów i usług pozostałych + PLTAXD_02_42 + + + + + + + Podatek - Korekta naliczonego od nabycia ś.trwałych + + + + + + + Podatek - Korekta naliczonego od pozostałych nabyć + + + + + + + Podatek - Wydatek na kasy do zwrotu w tym okresie + + + + + + + Podatek - Do zwrotu + + + + + + + Podatek - Do zwrotu 25 dni + + + + + + + Podatek - Do zwrotu 60 dni + + + + + + + Podatek - Do zwrotu 180 dni + + + + + + -- cgit v1.2.3