From 4938d48d68cc5ce8a7de7463b88cd1ed9aa1850b Mon Sep 17 00:00:00 2001 From: "Antoine Dupuis (andu)" Date: Tue, 9 May 2023 13:24:44 +0000 Subject: [PATCH] [FIX] l10n_it: VAT report: corrections to tax repartition lines - refund tax repartition lines lack tax grids -> added - Outgoing credit notes lack base line grids -> should decrease total active transactions -> added. - Purchase taxes 0% G and 0% S should increase total passive transactions, not increase total active transactions -> fixed closes odoo/odoo#145636 Taskid: 3175384 X-original-commit: 114a3e3c1587a057da96d4148d61416cfd434dac Signed-off-by: Josse Colpaert Signed-off-by: Antoine Dupuis (andu) --- addons/l10n_it/__manifest__.py | 2 +- .../l10n_it/data/template/account.tax-it.csv | 124 +++++++++--------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/addons/l10n_it/__manifest__.py b/addons/l10n_it/__manifest__.py index 70960c55263..142a2f4f86c 100644 --- a/addons/l10n_it/__manifest__.py +++ b/addons/l10n_it/__manifest__.py @@ -2,7 +2,7 @@ { 'name': 'Italy - Accounting', 'countries': ['it'], - 'version': '0.4', + 'version': '0.5', 'depends': [ 'account', 'base_iban', diff --git a/addons/l10n_it/data/template/account.tax-it.csv b/addons/l10n_it/data/template/account.tax-it.csv index 0b464cb96c6..8e87e85d371 100644 --- a/addons/l10n_it/data/template/account.tax-it.csv +++ b/addons/l10n_it/data/template/account.tax-it.csv @@ -1,166 +1,166 @@ "id","description","invoice_label","name","sequence","amount","amount_type","type_tax_use","price_include","tax_group_id","active","tax_scope","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent","name@it","children_tax_ids","l10n_it_exempt_reason","l10n_it_law_reference" "22v","","22%","22%","30","22.0","percent","sale","False","tax_group_iva_22","","","base","invoice","+02","","","22%","","","" "","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" +"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","" "10v","","10%","10%","40","10.0","percent","sale","False","tax_group_iva_10","","","base","invoice","+02","","","10%","","","" "","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" +"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","" "5v","","5%","5%","50","5.0","percent","sale","False","tax_group_iva_5","False","","base","invoice","+02","","","","","","" "","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" +"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","" "4v","","4%","4%","60","4.0","percent","sale","False","tax_group_iva_4","False","","base","invoice","+02","","","","","","" "","","","","","","","","","","","","tax","invoice","+4v","2601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" +"","","","","","","","","","","","","tax","refund","-4v","2601","","","","","" "00v","","0%","0%","70","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","","","","","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","","","","","","","" "","","","","","","","","","","","","base","refund","","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "22am","","22%","22% G","80","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03","","","22% M","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "10am","","10%","10% G","90","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03","","","10% M","","","" -"","","","","","","","","","","","","tax","invoice","+4v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "5am","","5%","5% G","100","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03","","","5% M","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "4am","","4%","4% G","110","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03","","","4% M","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"00am","","0%","0% G","120","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+02","","","0% M","","N1","Art. 15 DPR 633/1972" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"00am","","0%","0% G","120","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03","","","0% M","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","","","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "22as","","22%","22% S","130","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03","","","22% S","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "10as","","10%","10% S","140","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03","","","10% S","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "5as","","5%","5% S","150","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03","","","5% S","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "4as","","4%","4% S","160","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03","","","4% S","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" "00as","","0%","0% S","170","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+02","","","0% S","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","","","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "00eu","","0%","0% EU","180","0.0","percent","sale","False","tax_group_fuori","","","base","invoice","+02","","","0% EU","","N3.2","Art. 41, DL 331/93" "","","","","","","","","","","","","tax","invoice","","","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "00art15v","","0%","0% Art.15","190","0.0","percent","sale","False","tax_group_imp_esc_art_15","","","base","invoice","+02","","","0% Art.15","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","","","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" +"","","","","","","","","","","","","base","refund","-02","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "00art15a","","00art15a","0% Art.15","200","0.0","percent","purchase","False","tax_group_imp_esc_art_15","","","base","invoice","+03","","","0% Art.15","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","","","","","","","" -"","","","","","","","","","","","","base","refund","","","","","","","" +"","","","","","","","","","","","","base","refund","-03","","","","","","" "","","","","","","","","","","","","tax","refund","","","","","","","" "22rcs","","22%","22% S RC","210","22.0","percent","purchase","False","tax_group_iva_22","","service","base","invoice","+03||+vj3","","","22% S IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "10rcs","","10%","10% S RC","220","10.0","percent","purchase","False","tax_group_iva_10","","service","base","invoice","+03||+vj3","","","10% S IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "5rcs","","5%","5% S RC","230","5.0","percent","purchase","False","tax_group_iva_5","False","service","base","invoice","+03||+vj3","","","5% S IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "4rcs","","4%","4% S RC","240","4.0","percent","purchase","False","tax_group_iva_4","False","service","base","invoice","+03||+vj3","","","4% S IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "00rcs","","0%","0% S RC","250","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% S CI","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "22rcm","","22%","22% G RC","260","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj9","","","22% M IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "10rcm","","10%","10% G RC","270","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj9","","","10% M IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "5rcm","","5%","5% G RC","280","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj9","","","5% M IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "4rcm","","4%","4% G RC","290","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj9","","","4% M IC","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "00rcm","","0%","0% G RC","300","0.0","percent","purchase","False","tax_group_fuori","","consu","base","invoice","+03||+vj9","","","0% M CI","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj9","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "22rcd","22% G Deposit","22%","22% G D","310","22.0","percent","purchase","False","tax_group_iva_22","","consu","base","invoice","+03||+vj3","","","22% M Deposito","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "10rcd","10% G Deposit","10%","10% G D","320","10.0","percent","purchase","False","tax_group_iva_10","","consu","base","invoice","+03||+vj3","","","10% M Deposito","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "5rcd","5% G Deposit","5%","5% G D","330","5.0","percent","purchase","False","tax_group_iva_5","False","consu","base","invoice","+03||+vj3","","","5% M Deposito","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "4rcd","4% G Deposit","4%","4% G D","340","4.0","percent","purchase","False","tax_group_iva_4","False","consu","base","invoice","+03||+vj3","","","4% M Deposito","","","" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "00rcd","0% G Deposit","0%","0% G D","350","0.0","percent","purchase","False","tax_group_fuori","","service","base","invoice","+03||+vj3","","","0% M Deposito","","N1","Art. 15 DPR 633/1972" "","","","","","","","","","","","","tax","invoice","+5v","1601","","","","","" "","","","","","","","","","","","","tax","invoice","-4v","2601","-100","","","","" "","","","","","","","","","","","","base","refund","-03||-vj3","","","","","","" -"","","","","","","","","","","","","tax","refund","","1601","","","","","" -"","","","","","","","","","","","","tax","refund","","2601","-100","","","","" +"","","","","","","","","","","","","tax","refund","-5v","1601","","","","","" +"","","","","","","","","","","","","tax","refund","+4v","2601","-100","","","","" "22vsp","22% Scissione dei Pagamenti pos.","22%","22% SP pos.","360","22.0","percent","none","False","tax_group_iva_22","","","base","invoice","+02","","","","","","" "","","","","","","","","","","","","tax","invoice","+ve38","2608","","","","","" "","","","","","","","","","","","","base","refund","-02","","","","","","" @@ -196,4 +196,4 @@ "","","","","","","","","","","","","tax","invoice","","2608","","","","","" "","","","","","","","","","","","","base","refund","","","","","","","" "","","","","","","","","","","","","tax","refund","","2608","","","","","" -"4vsp_group","","4%","4% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","4vsp,4vsp_storno","","" +"4vsp_group","","4%","4% SP","360","","group","sale","False","tax_group_split_payment","","","","","","","","","4vsp,4vsp_storno","","" \ No newline at end of file