[19.0][MIG] l10n_es_intrastat_report: Migration to 19.0 - #5056
Conversation
|
/ocabot migration l10n_es_intrastat_report |
|
The migration issue (#4402) has not been updated to reference the current pull request because a previous pull request (#4985) is not closed. |
|
Se cierra el anterior PR por falta de seguimiento. /ocabot migration l10n_es_intrastat_report |
673b16b to
50b088f
Compare
…ral imps/fixes * Remove unneeded dependency to stock_picking_invoice_link. * Updated HS Codes source file. * Optimized compute/import methods. * Remove useless/obsolete code, data and fields. * Added Spanish translation.
Previous code was forcing the existence of linked purchase lines which may be not true for all. As we already have a fallback in declaration code, let's not force this at location level.
Missed step from the migration to v13 Update multi-company security domains and provide migration scripts TT27865
Due to upstream change, now invoice date is required.
… is set Co-authored-by: Pedro M. Baeza <pedro.baeza@tecnativa.com> l10n_es_intrastat_report 14.0.1.0.1
…ording to documentation. TT30682 l10n_es_intrastat_report 14.0.1.1.0
… de 2022 Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
TT34295 l10n_es_intrastat_report 14.0.2.0.1
… and show error when missing product_origin_country_id in line. TT29332 l10n_es_intrastat_report 14.0.2.1.0
Since 81aac30dd2278e43a43cf8fd6cef31e1e8c60f3f, all tests depending on invoicing base test should be post-install.
… and show error when missing product_origin_country_id in line. TT29332
…ady defined in intrastat_product. Transaction 70 is eliminated, it does not exist (officially). https://eur-lex.europa.eu/legal-content/ES/TXT/HTML/?uri=CELEX:32020R1197&from=EN#d1e32-7-1 company_id=False is not necessary in v16 because the field is no longer has a default
…or when fiscal position is B2C
…ns with Intrastat Since v17, ir.model.data records (external identifiers) are no longer created with the localization module (l10n_es). Account is defined in all of them, so the post_init_hook() method must be adjusted so that the appropriate fiscal positions have the appropriate Intrastat data.
…nit_hook Define the appropriate data (intrastat+vat_required) in the fiscal positions to be consistent with what is indicated in the _get_fiscal_position() method of account.chart.template
[UPD] Update l10n_es_intrastat_report.pot [BOT] post-merge updates
[BOT] post-merge updates
[UPD] Update l10n_es_intrastat_report.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/
Related to OCA/intrastat-extrastat#335 [UPD] Update l10n_es_intrastat_report.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/
…ue of the Intrastat field) Related to OCA/intrastat-extrastat#333 [BOT] post-merge updates
Currently translated at 98.0% (51 of 52 strings) Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (52 of 52 strings) Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/es/
Currently translated at 65.3% (34 of 52 strings) Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/ca/ [UPD] Update l10n_es_intrastat_report.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_intrastat_report Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_intrastat_report/
Relacionado con OCA/intrastat-extrastat@ee34b6d TT61896 [BOT] post-merge updates
50b088f to
1d9adb7
Compare
pedrobaeza
left a comment
There was a problem hiding this comment.
He realizado ya los cambios para poder fusionar.
/ocabot merge nobump
| else: | ||
| raise exceptions.UserError( | ||
| self.env._("Unit not found: '%s'") % iu | ||
| self.env._("Unit not found: '%(iu)s'", iu=iu) |
There was a problem hiding this comment.
No hay que cambiar la traducción, si no cómo cargar el argumento:
| self.env._("Unit not found: '%(iu)s'", iu=iu) | |
| self.env._("Unit not found: '%s'", iu) |
| "views/l10n_es_intrastat_product.xml", | ||
| "wizards/l10n_es_intrastat_code_import.xml", | ||
| ], | ||
| "external_dependencies": {"python": ["openpyxl"]}, |
There was a problem hiding this comment.
No hace falta declararlo, porque el propio Odoo ya lo tiene en su requirements.txt: https://github.com/odoo/odoo/blob/19.0/requirements.txt#L49
|
On my way to merge this fine PR! |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 2051667. Thanks a lot for contributing to OCA. ❤️ |
Migración a 19.0
Por favor @pedrobaeza ¿puedes revisarlo?
@Tecnativa TT61941