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

[MIG] l10n_uy_reports: Migration to 18.0 #258

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

mem-adhoc
Copy link
Contributor

No description provided.

@roboadhoc
Copy link
Contributor

@mem-adhoc mem-adhoc force-pushed the 18.0-mig-l10n_uy_reports branch from cb8397c to 7c24be1 Compare November 4, 2024 16:03
@mem-adhoc mem-adhoc force-pushed the 18.0-mig-l10n_uy_reports branch from 7c24be1 to 88d6ddc Compare December 10, 2024 17:40
@jue-adhoc jue-adhoc force-pushed the 18.0-mig-l10n_uy_reports branch 2 times, most recently from a899e88 to ef2a85e Compare December 20, 2024 19:20
@@ -199,7 +200,7 @@ def action_get_files(self):
if self.company_id.country_id.code != 'UY':
raise UserError(_("Solo puede generar este reporte para compañias Uruguayas"))

data = getattr(self, '_get_form_%s_data' % self.uy_form_id)()
data = getattr(self, '_get_form_%s_data' % self.uy_form_id)() if self.uy_form_id else None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esto es porque el wizard tiene un campo selection para poner el formulario correspondiente, y si no seleccionabas ningun formulario saltaba un traceback

@jue-adhoc jue-adhoc force-pushed the 18.0-mig-l10n_uy_reports branch 2 times, most recently from c2921cf to ab5937b Compare December 23, 2024 18:46
@jue-adhoc jue-adhoc force-pushed the 18.0-mig-l10n_uy_reports branch from ab5937b to 5a99a74 Compare December 23, 2024 19:06

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todos los cambios realizados sobre las queries y el uso de la tool SQL lo tomé de cambios realizados en l10n_ar_reports de Odoo enterprise
https://github.com/odoo/enterprise/commit/eeaa8d3b31d8efccd42b8705ba387527a39dfb57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants