-
-
Notifications
You must be signed in to change notification settings - Fork 567
[17.0][MIG] l10n_es_igic_verifactu_oca: Migration to 17.0 #4526
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
Open
syci
wants to merge
4
commits into
OCA:17.0
Choose a base branch
from
BinhexTeam:17.0-mig-l10n_es_igic_verifactu_oca
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e5c0a65
[ADD] l10n_es_igic_verifactu_oca: mapping for IGIC taxes
christian-ramos-tecnativa 887d580
[IMP] l10n_es_igic_verifactu_oca: pre-commit auto fixes
ajfebres 0dffe94
[MIG] l10n_es_igic_verifactu_oca: Migration to 17.0
ajfebres d49ce8a
[FIX] replace chart.try_loading() by chart._load() on tests.
ajfebres File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ Comunicación Veri*FACTU IGIC | |
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:aa09bd59e94f22f5bdba1ffc12f57758c3966156c5c096d89883620b822fd9fd | ||
| !! source digest: sha256:5ef145abbf6cea266078510a1b9568e64b109afa634ea88962d84b05c7432a01 | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
|
|
@@ -67,6 +67,7 @@ Contributors | |
|
|
||
| - Mario Montes <[email protected]> | ||
| - Christian Ramos <[email protected]> | ||
| - Abraham J. Febres <[email protected]> | ||
|
|
||
| Maintainers | ||
| ----------- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| from . import models | ||
|
|
||
| from .hooks import post_init_hook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 0 additions & 68 deletions
68
l10n_es_igic_verifactu_oca/data/account_fiscal_position_template_canary_data.xml
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
l10n_es_igic_verifactu_oca/data/atc_verifactu_map_data.xml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
l10n_es_igic_verifactu_oca/data/l10n.es.aeat.map.tax.line.tax.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| id,name | ||
| igic_r_0,account_tax_template_igic_r_0 | ||
| igic_r_3,account_tax_template_igic_r_3 | ||
| igic_r_5,account_tax_template_igic_r_5 | ||
| igic_r_7,account_tax_template_igic_r_7 | ||
| igic_r_9_5,account_tax_template_igic_r_9_5 | ||
| igic_r_15,account_tax_template_igic_r_15 | ||
| igic_r_20,account_tax_template_igic_r_20 | ||
| igic_s_ISP0,account_tax_template_igic_s_ISP0 | ||
| igic_re_ex,account_tax_template_igic_re_ex | ||
| igic_ex_0,account_tax_template_igic_ex_0 |
9 changes: 9 additions & 0 deletions
9
l10n_es_igic_verifactu_oca/data/template/account.fiscal.position-es_common.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| id,verifactu_registration_key,verifactu_tax_key | ||
| "fp_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_01","03" | ||
| "fp_extra_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_02","03" | ||
| "fp_recargo_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_18","03" | ||
| "fp_irpf9_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_01","03" | ||
| "fp_irpf15_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_01","03" | ||
| "fp_irpf19a_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_01","03" | ||
| "fp_ispn_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_01","03" | ||
| "fp_retailer_canary","l10n_es_verifactu_oca.verifactu_registration_keys_igic_17","03" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| id,code,name,tax_xmlid_ids:id,verifactu_map_id:id | ||
| "l10n_es_verifactu_oca.verifactu_map_line_S1","S1","Operación Sujeta y No exenta - Sin inversión del sujeto pasivo.","l10n_es_verifactu_oca.s_iva21b,l10n_es_verifactu_oca.s_iva0b,l10n_es_verifactu_oca.s_iva2b,l10n_es_verifactu_oca.s_iva4b,l10n_es_verifactu_oca.s_iva5b,l10n_es_verifactu_oca.s_iva7-5b,l10n_es_verifactu_oca.s_iva10b,l10n_es_verifactu_oca.s_iva21s,l10n_es_verifactu_oca.s_iva10s,l10n_es_verifactu_oca.s_iva0s,l10n_es_verifactu_oca.s_iva2s,l10n_es_verifactu_oca.s_iva4s,l10n_es_verifactu_oca.s_iva5s,l10n_es_verifactu_oca.s_iva7-5s,l10n_es_verifactu_oca.s_iva0_g_i,l10n_es_verifactu_oca.s_iva0_sp_i,l10n_es_verifactu_oca.s_iva0_g_e,l10n_es_verifactu_oca.s_iva_e,l10n_es_verifactu_oca.s_iva0_e,igic_r_0,igic_r_3,igic_r_5,igic_r_7,igic_r_9_5,igic_r_15,igic_r_20","l10n_es_verifactu_oca.verifactu_map" | ||
| "l10n_es_verifactu_oca.verifactu_map_line_S2","S2","Operación Sujeta y No exenta - Con Inversión del sujeto pasivo","l10n_es_verifactu_oca.s_iva0_isp,igic_s_ISP0","l10n_es_verifactu_oca.verifactu_map" | ||
| "verifactu_map_line_E1_igic","E1","Operaciones Exentas.","igic_re_ex,igic_ex_0","l10n_es_verifactu_oca.verifactu_map" |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| from . import account_chart_template |
14 changes: 14 additions & 0 deletions
14
l10n_es_igic_verifactu_oca/models/account_chart_template.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| from odoo import models | ||
|
|
||
| from odoo.addons.account.models.chart_template import template | ||
|
|
||
|
|
||
| class AccountChartTemplate(models.AbstractModel): | ||
| _inherit = "account.chart.template" | ||
|
|
||
| @template("es_common", "account.fiscal.position") | ||
| def _get_es_common_igic_account_fiscal_position(self): | ||
| res = self._parse_csv( | ||
| "es_common", "account.fiscal.position", module="l10n_es_igic_verifactu_oca" | ||
| ) | ||
| return res |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| - Mario Montes \<[email protected]\> | ||
| - Christian Ramos \<[email protected]\> | ||
| - Abraham J. Febres \<[email protected]\> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta fórmula es problemática, al menos en 18. Mira si esto otro sirve ya también en 17 y así ya no hay que cambiarlo luego:
l10n-spain/l10n_es_verifactu_oca/tests/common.py
Line 172 in 21f8642
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajfebres Revisa lo que comenta Pedro y realiza las pruebas.