-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: 18.0
Are you sure you want to change the base?
Conversation
cb8397c
to
7c24be1
Compare
7c24be1
to
88d6ddc
Compare
a899e88
to
ef2a85e
Compare
@@ -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 |
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.
esto es porque el wizard tiene un campo selection para poner el formulario correspondiente, y si no seleccionabas ningun formulario saltaba un traceback
c2921cf
to
ab5937b
Compare
ab5937b
to
5a99a74
Compare
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.
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
No description provided.