-
Notifications
You must be signed in to change notification settings - Fork 289
[IMP] controller_report_xls: general improvements and and code cleanup. t#87779 #1701
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
[IMP] controller_report_xls: general improvements and and code cleanup. t#87779 #1701
Conversation
- Updated __manifest__.py: set license to LGPL-3, switched to HTTPS for URL, removed unnecessary keys. - Removed outdated copyright header from main controller. - Refreshed es.po with current project metadata. - Deleted redundant translation files (es_ES, es_MX, es_PA, es_VE) to avoid duplication.
- Fix undefined variable 'cssstyle' in get_css_style function - Fix undefined variable 'result' in match_color_index function - Improve string comparison using truthiness instead of empty string check
d71fbcb
to
9cadb79
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.
Is the controller actually used? I see it's not even imported from the main __init__.py
file.
@emtz10 para probar que no nos rompa nada en villa |
tiene razón Luis G, creo que podemos eliminar el dir de controllers, no se esta usando @luisg123v prefiero aplicar los cambios en la mig de v16.0 que opinas? |
@hugho-ad considero que son cambios seguros, desde que no estamos cambiando el comportamiento, sólo corrigiendo lints. En mi opinión, no necesitan pruebas. |
- Remove controllers/main.py, as the controller logic has been consolidated into reports/report_xls.py. - Update imports to reflect the new structure. - Modernize the codebase while maintaining backward compatibility for XLS report generation.
Hi @hugho-ad, I applied the comments of Luis G. Also, I deleted the controllers folder. Can you check this MR? Regards. |
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.
LGTM 👍
No description provided.