Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.0][IMP] l10n_es_aeat_mod303: New declaration format for 2024-10 #3785

Open
wants to merge 10 commits into
base: 11.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions l10n_es_aeat_mod303/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
"license": "AGPL-3",
"depends": [
"l10n_es",
"l10n_es_aeat",
],
"depends": ["l10n_es", "l10n_es_aeat", "l10n_es_extra_data"],
"data": [
"data/2021-07/aeat.model.export.config.csv",
"data/2021-07/aeat.model.export.config.line.csv",
Expand All @@ -31,6 +28,10 @@
"data/2023/aeat.model.export.config.line.csv",
"data/2023/l10n.es.aeat.map.tax.csv",
"data/2023/l10n.es.aeat.map.tax.line.csv",
"data/2024-10/aeat.model.export.config.csv",
"data/2024-10/aeat.model.export.config.line.csv",
"data/2024-10/l10n.es.aeat.map.tax.csv",
"data/2024-10/l10n.es.aeat.map.tax.line.csv",
"data/tax_code_map_mod303_data.xml",
"data/aeat_export_mod303_data.xml",
"data/aeat_export_mod303_2017_data.xml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"aeat_mod303_2022_sub03_export_line_36","aeat_mod303_2022_sub03_export_config",34,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.street or ''}",,,,
"aeat_mod303_2022_sub03_export_line_37","aeat_mod303_2022_sub03_export_config",35,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.city or ''}",,,,
"aeat_mod303_2022_sub03_export_line_38","aeat_mod303_2022_sub03_export_config",36,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.country.code or ''}",,,,
"aeat_mod303_2022_sub03_export_line_39","aeat_mod303_2022_sub03_export_config",37,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${int(object.marca_sepa or '0')}",,,,
"aeat_mod303_2022_sub03_export_line_39","aeat_mod303_2022_sub03_export_config",37,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${object.result_type in ['X', 'D'] and int(object.marca_sepa) or 0}",,,,
"aeat_mod303_2022_sub03_export_line_40","aeat_mod303_2022_sub03_export_config",38,"Reservado para la AEAT","string",600,0,"left",1,"N",0," ","X",,,,,
"aeat_mod303_2022_sub03_export_line_41","aeat_mod303_2022_sub03_export_config",39,"Indicador de fin de registro: </T30303>","string",12,0,"left",1,"N",0," ","X",,"</T30303000>",,,
"aeat_mod303_2022_sub04_export_line_01","aeat_mod303_2022_sub04_export_config",1,"Constante: <T","string",2,0,"left",1,"N",0," ","X",,"<T",,,
Expand Down
2 changes: 1 addition & 1 deletion l10n_es_aeat_mod303/data/2023/aeat.model.export.config.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"id","name","date_end","model_number","model_id:id","date_start","date_end","active"
"aeat_mod303_2023_main_export_config","Mod.303 2023-actualidad",,"303","model_l10n_es_aeat_mod303_report","2023-01-01",,True
"aeat_mod303_2023_main_export_config","Mod.303 2023-2024-08",,"303","model_l10n_es_aeat_mod303_report","2023-01-01","2024-08-31",True
"aeat_mod303_2023_sub01_export_config","Exportación modelo 303 2023 - Régimen general/simplificado",,"303",,,,0
"aeat_mod303_2023_sub03_export_config","Exportación modelo 303 2023 - Información adicional + Resultado",,"303",,,,0
"aeat_mod303_2023_subdid_export_config","Exportación modelo 303 2023 - Devolución",,"303",,,,0
14 changes: 7 additions & 7 deletions l10n_es_aeat_mod303/data/2023/aeat.model.export.config.line.csv
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@
"aeat_mod303_2023_subdid_export_line_02","aeat_mod303_2023_subdid_export_config",2,"Modelo: 303","string",3,0,"left",1,"N",0," ","X",,303,,,
"aeat_mod303_2023_subdid_export_line_03","aeat_mod303_2023_subdid_export_config",3,"Constante: 04000","string",5,0,"left",1,"N",0," ","X",,"DID00",,,
"aeat_mod303_2023_subdid_export_line_04","aeat_mod303_2023_subdid_export_config",4,"Constante: >","string",1,0,"left",1,"N",0," ","X",,">",,,
"aeat_mod303_2023_subdid_export_line_05","aeat_mod303_2023_subdid_export_config",5,"Devolución. SWIFT-BIC","string",11,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.marca_sepa == '3' and object.partner_bank_id.bank_bic or ''}",,,,
"aeat_mod303_2023_subdid_export_line_06","aeat_mod303_2023_subdid_export_config",6,"Domiciliación/Devolución - IBAN","string",34,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id and object.partner_bank_id.acc_number.replace(' ', '') or ''}",,,,
"aeat_mod303_2023_subdid_export_line_07","aeat_mod303_2023_subdid_export_config",7,"Devolución - Banco/Bank name","string",70,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.name or ''}",,,,
"aeat_mod303_2023_subdid_export_line_08","aeat_mod303_2023_subdid_export_config",8,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.street or ''}",,,,
"aeat_mod303_2023_subdid_export_line_09","aeat_mod303_2023_subdid_export_config",9,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.city or ''}",,,,
"aeat_mod303_2023_subdid_export_line_10","aeat_mod303_2023_subdid_export_config",10,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'D' and object.partner_bank_id.bank_id.country.code or ''}",,,,
"aeat_mod303_2023_subdid_export_line_11","aeat_mod303_2023_subdid_export_config",11,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${int(object.marca_sepa or '0')}",,,,
"aeat_mod303_2023_subdid_export_line_05","aeat_mod303_2023_subdid_export_config",5,"Devolución. SWIFT-BIC","string",11,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_bic or ''}",,,,
"aeat_mod303_2023_subdid_export_line_06","aeat_mod303_2023_subdid_export_config",6,"Domiciliación/Devolución - IBAN","string",34,0,"left",1,"N",0," ","X","${object.result_type in ['X', 'D'] and object.partner_bank_id and object.partner_bank_id.acc_number.replace(' ', '') or ''}",,,,
"aeat_mod303_2023_subdid_export_line_07","aeat_mod303_2023_subdid_export_config",7,"Devolución - Banco/Bank name","string",70,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.name or ''}",,,,
"aeat_mod303_2023_subdid_export_line_08","aeat_mod303_2023_subdid_export_config",8,"Devolución - Dirección del Banco/ Bank address","string",35,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.street or ''}",,,,
"aeat_mod303_2023_subdid_export_line_09","aeat_mod303_2023_subdid_export_config",9,"Devolución - Ciudad/City","string",30,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.city or ''}",,,,
"aeat_mod303_2023_subdid_export_line_10","aeat_mod303_2023_subdid_export_config",10,"Devolución - Código País/Country code","string",2,0,"left",1,"N",0," ","X","${object.result_type == 'X' and object.partner_bank_id.bank_id.country.code or ''}",,,,
"aeat_mod303_2023_subdid_export_line_11","aeat_mod303_2023_subdid_export_config",11,"Devolución - Marca SEPA","integer",1,0,"left",0,"N",0," ","X","${object.result_type in ['X', 'D'] and int(object.marca_sepa) or 0}",,,,
"aeat_mod303_2023_subdid_export_line_12","aeat_mod303_2023_subdid_export_config",12,"Reservado para la AEAT","string",617,0,"left",1,"N",0," ","X",,,,,
"aeat_mod303_2023_subdid_export_line_13","aeat_mod303_2023_subdid_export_config",13,"Indicador de fin de registro: </T30303>","string",12,0,"left",1,"N",0," ","X",,"</T303DID00>",,,
"aeat_mod303_2023_main_export_line_01","aeat_mod303_2023_main_export_config",1,"Constante: <T","string",2,0,"left",1,"N",0," ","X",,"<T",,,
Expand Down
2 changes: 1 addition & 1 deletion l10n_es_aeat_mod303/data/2023/l10n.es.aeat.map.tax.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,model,date_from,date_to
aeat_mod303_2023_map,303,2023-01-01,
aeat_mod303_2023_map,303,2023-01-01,2024-09-30
4 changes: 4 additions & 0 deletions l10n_es_aeat_mod303/data/2024-10/aeat.model.export.config.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"id","name","date_end","model_number","model_id:id","date_start","date_end","active"
"aeat_mod303_2024_10_main_export_config","Mod. 303 2024-09-actualidad",,"303","model_l10n_es_aeat_mod303_report","2024-09-01",,True
"aeat_mod303_2024_10_sub01_export_config","Exportación modelo 303 2024-10 - Régimen general/simplificado",,"303",,,,0
"aeat_mod303_2024_10_sub03_export_config","Exportación modelo 303 2024-10 - Información adicional + Resultado",,"303",,,,0
Loading
Loading