Skip to content

Commit

Permalink
[MIG] l10n_es_aeat_mod190: Migration to 17.0
Browse files Browse the repository at this point in the history
TT49307
  • Loading branch information
victoralmau committed Jan 20, 2025
1 parent 2bd7dba commit 19427ad
Show file tree
Hide file tree
Showing 18 changed files with 59 additions and 406 deletions.
6 changes: 4 additions & 2 deletions l10n_es_aeat_mod190/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "AEAT modelo 190",
"version": "16.0.2.2.0",
"version": "17.0.1.0.0",
"category": "Localization/Accounting",
"author": "Punt Sistemes SLU,"
"Odoo Community Association (OCA),"
Expand All @@ -15,7 +15,9 @@
"data/perception_subkey_data.xml",
"data/aeat_export_mod190_partner_data.xml",
"data/aeat_export_mod190_data.xml",
"data/tax_code_map_mod190_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/account_fiscal_position.xml",
"views/account_invoice_view.xml",
"views/mod190_line_view.xml",
Expand Down
2 changes: 2 additions & 0 deletions l10n_es_aeat_mod190/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_mod190_map,190,,
7 changes: 7 additions & 0 deletions l10n_es_aeat_mod190/data/l10n.es.aeat.map.tax.line.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
id,map_parent_id:id,field_number,field_type,sum_type,inverse,name,tax_xmlid_ids/id
aeat_mod190_map_line_11,aeat_mod190_map,11,base,both,True,Rendimientos del trabajo (dinerarios) - Importe de las percepciones,"p_irpf21t,p_irpf21td,p_irpf19ca,p_irpf35cya"
aeat_mod190_map_line_12,aeat_mod190_map,12,amount,both,False,Rendimientos del trabajo (dinerarios) - Importe de las retenciones,"p_irpf21t,p_irpf21td,p_irpf19ca,p_irpf35cya"
aeat_mod190_map_line_13,aeat_mod190_map,13,base,both,True,Rendimientos del trabajo (en especie) - Valor percepciones en especie,"p_irpf21te,p_irpf15e,p_irpf7e"
aeat_mod190_map_line_14,aeat_mod190_map,14,amount,both,False,Rendimientos del trabajo (en especie) - Importe de los ingresos a cuenta,"p_irpf21te,p_irpf15e,p_irpf7e"
aeat_mod190_map_line_15,aeat_mod190_map,15,base,both,True,Rendimientos de actividades económicas (dinerarios) - Importe de las percepciones,"p_irpf1,p_irpf2,p_irpf7,p_irpf9,p_irpf15,p_irpf18,p_irpf19,p_irpf20,p_irpf21p"
aeat_mod190_map_line_16,aeat_mod190_map,16,amount,both,False,Rendimientos de actividades económicas (dinerarios) - Importe de las retenciones,"p_irpf1,p_irpf2,p_irpf7,p_irpf9,p_irpf15,p_irpf18,p_irpf19,p_irpf20,p_irpf21p"
17 changes: 17 additions & 0 deletions l10n_es_aeat_mod190/data/l10n.es.aeat.map.tax.line.tax.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
id,name
p_irpf1,account_tax_template_p_irpf1
p_irpf2,account_tax_template_p_irpf2
p_irpf7,account_tax_template_p_irpf7
p_irpf7e,account_tax_template_p_irpf7e
p_irpf9,account_tax_template_p_irpf9
p_irpf15,account_tax_template_p_irpf15
p_irpf15e,account_tax_template_p_irpf15e
p_irpf18,account_tax_template_p_irpf18
p_irpf19,account_tax_template_p_irpf19
p_irpf19ca,account_tax_template_p_irpf19ca
p_irpf20,account_tax_template_p_irpf20
p_irpf21p,account_tax_template_p_irpf21p
p_irpf21t,account_tax_template_p_irpf21t
p_irpf21td,account_tax_template_p_irpf21td
p_irpf21te,account_tax_template_p_irpf21te
p_irpf35cya,account_tax_template_p_irpf35cya
114 changes: 0 additions & 114 deletions l10n_es_aeat_mod190/data/tax_code_map_mod190_data.xml

This file was deleted.

22 changes: 0 additions & 22 deletions l10n_es_aeat_mod190/i18n/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -1708,25 +1708,3 @@ msgstr "[03] Import de les retencions"
#: model:ir.model.fields,field_description:l10n_es_aeat_mod190.field_l10n_es_aeat_mod190_report_line__ejercicio_devengo
msgid "year"
msgstr "Any"

#~ msgid "Calculated"
#~ msgstr "Calculat"

#, python-format
#~ msgid "You have to recalculate the report before confirm it."
#~ msgstr "Heu de tornar a calcular l'informe abans de confirmar-lo."

#~ msgid "Number of messages which requires an action"
#~ msgstr "Nombre de missatges que requereixen una acció"

#~ msgid "Number of unread messages"
#~ msgstr "Nombre de missatges no llegits"

#~ msgid "SMS Delivery error"
#~ msgstr "Error d'entrega d'SMS"

#~ msgid "Unread Messages"
#~ msgstr "Missatges no llegits"

#~ msgid "Unread Messages Counter"
#~ msgstr "Comptador de missatges no llegits"
22 changes: 0 additions & 22 deletions l10n_es_aeat_mod190/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -1714,25 +1714,3 @@ msgstr "[03] Importe de las retenciones"
#: model:ir.model.fields,field_description:l10n_es_aeat_mod190.field_l10n_es_aeat_mod190_report_line__ejercicio_devengo
msgid "year"
msgstr "año"

#~ msgid "Calculated"
#~ msgstr "Calculado"

#, python-format
#~ msgid "You have to recalculate the report before confirm it."
#~ msgstr "Debe volver a calcular el informe antes de confirmarlo."

#~ msgid "Number of messages which requires an action"
#~ msgstr "Número de mensajes que requieren una acción"

#~ msgid "Number of unread messages"
#~ msgstr "Número de mensajes no leídos"

#~ msgid "SMS Delivery error"
#~ msgstr "Error en la entrega de sms"

#~ msgid "Unread Messages"
#~ msgstr "Mensajes No Leídos"

#~ msgid "Unread Messages Counter"
#~ msgstr "Contador de Mensajes no leídos"
Loading

0 comments on commit 19427ad

Please sign in to comment.