Repository navigation
[ADD] om_excel_reports: Excel export of reports - #211
Conversation
|
Hi @akshaymanoj87, thank you for the updates! The converter is missing. CI cannot load the module yet: What we will change next. Once CI is green, we will push one commit to your branch ourselves (thanks for allowing edits from maintainers), to keep the module small and free of interference with other modules:
The dialog, the preview, the download routes and your converter stay as they are. We will explain the commit here when we push it, and the PR will be squashed into a single commit when merged, under your name. |
c21e375 to
6222737
Compare
The Python template ignored every folder named lib/, build/, dist/, var/... anywhere in the tree, which also hid the folders of the modules: a module's lib/ (the converter of om_excel_reports, #211 of odooapps) or static/lib/ was left out of the commits without a warning. These folders are now ignored at the root of the repository only.
|
Update @akshaymanoj87: we have fixed the So you can keep the converter where it is: please merge |
6222737 to
ffd4837
Compare
|
Hi @akshaymanoj87, thanks for pushing the converter ( We would be happy if you could make these two changes yourself, in your single commit: 1. Remove the "(Excel)" Print-menu duplicates
The module then no longer changes 2. No overlap with other Excel report modules report = request.env['ir.actions.report']._get_report_from_name(report_name)
dedicated = report and request.env['ir.actions.report'].sudo().search_count(
[('model', '=', report.model), ('report_type', '=', 'xlsx')], limit=1)
allowed = bool(report and is_pdf_report_type(report.report_type) and not dedicated)Please keep A test for this would be welcome: create an As before: one commit, CI green, no warning in the logs. When merged, the PR will be squashed into a single commit under your name. Thanks! |
ffd4837 to
d28ce77
Compare
|
Hi @akshaymanoj87, thanks a lot for the update: the Print-menu entries are gone and the dialog now steps aside for reports with their own Excel export, exactly as we hoped. CI is green. Two small things before we merge, both in your single commit: 1. Manifest (
2. README (
Then amend your commit and force-push. That push will also run our new commit messages check, which is now required and hasn't run on this PR yet (your commit message already follows the format). Thanks again! |
d28ce77 to
169c0f1
Compare
|
/mergebot r+ |
|
Merging now. |
|
🎉 Merged, thank you @akshaymanoj87! That makes 2 of your pull requests merged at Odoo Mates: thank you for coming back. Kudos for [ADD] om_excel_reports: Excel export of reports 👏 |
What and why
Adds om_excel_reports (Odoo2XL - Odoo Excel Reports) for 20.0: any PDF report can be exported as a real Excel spreadsheet from the Print flow, generated on the server.
This addresses the review feedback sent to the contributor by e-mail:
How to test
Versions
Branch 20.0. Backports to 18.0 and 19.0 will follow after this is merged, if wanted.