Skip to content

Commit

Permalink
Add new data files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tisho99 committed Apr 29, 2024
1 parent e55160d commit 82c30b6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 37 deletions.
4 changes: 3 additions & 1 deletion l10n_es_aeat_mod115/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"security/ir.model.access.csv",
"security/l10n_es_aeat_mod115_security.xml",
"data/aeat_export_mod115_data.xml",
"data/tax_code_map_mod115_data.xml",
"data/l10n.es.aeat.map.tax.csv",
"data/l10n.es.aeat.map.tax.line.tax.csv", # This one should be before the next
"data/l10n.es.aeat.map.tax.line.csv",
"views/mod115_view.xml",
],
"installable": True,
Expand Down
2 changes: 2 additions & 0 deletions l10n_es_aeat_mod115/data/l10n.es.aeat.map.tax.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,model,date_from,date_to
aeat_mod115_map,115,,
3 changes: 3 additions & 0 deletions l10n_es_aeat_mod115/data/l10n.es.aeat.map.tax.line.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id,field_number,field_type,inverse,map_parent_id:id,name,sum_type,account_xmlid_ids/id,tax_xmlid_ids/id
aeat_mod115_map_line_02,02,base,True,aeat_mod115_map,Base retenciones e ingresos a cuenta,both,,"p_irpf19a,p_irpf195a,p_irpf20a,p_irpf21a"
aeat_mod115_map_line_03,03,amount,False,aeat_mod115_map,Retenciones e ingresos a cuenta,both,,"p_irpf19a,p_irpf195a,p_irpf20a,p_irpf21a"
5 changes: 5 additions & 0 deletions l10n_es_aeat_mod115/data/l10n.es.aeat.map.tax.line.tax.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
id,name
p_irpf19a,account_tax_template_p_irpf19a
p_irpf195a,account_tax_template_p_irpf195a
p_irpf20a,account_tax_template_p_irpf20a
p_irpf21a,account_tax_template_p_irpf21a
36 changes: 0 additions & 36 deletions l10n_es_aeat_mod115/data/tax_code_map_mod115_data.xml

This file was deleted.

0 comments on commit 82c30b6

Please sign in to comment.