Skip to content

[15.0][MIG] report_xlsx - #554

Merged
pedrobaeza merged 50 commits into
OCA:15.0from
ForgeFlow:15.0-mig-report_xlsx
Dec 11, 2021
Merged

pedrobaeza merged 50 commits into
OCA:15.0from
ForgeFlow:15.0-mig-report_xlsx

Conversation

@JoanMForgeFlow

@JoanMForgeFlow JoanMForgeFlow commented Dec 7, 2021

Copy link
Copy Markdown
Contributor

standard migration of the module report_xlsx to version 15.0

@JordiBForgeFlow

Copy link
Copy Markdown
Member

@ChrisOForgeFlow can you help with the js?

@aisopuro

aisopuro commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

If it helps, I made an ugly solution in my migration of report_xml due to the report handler service being strictly private in version 15: https://github.com/OCA/reporting-engine/pull/550/files#diff-364e5c801ea1b16dac1cd54935f7851db3173417864b4bebb485b94c0bb6599eR6.

Hopefully that can help you with the JS. If you come up with a better solution than mine that could also be applied in report_xml, please ping me on that PR: I would love to be able to have a better solution 😅 .

@JoanMForgeFlow

Copy link
Copy Markdown
Contributor Author

@ChrisOForgeFlow Thanks so much for your help! Its working :)

@AaronHForgeFlow AaronHForgeFlow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It just works

@JoanMForgeFlow

JoanMForgeFlow commented Dec 9, 2021

Copy link
Copy Markdown
Contributor Author

@lmignon, @alexis-via or @faide could you please merge this module? Thanks

Adrien Peiffer (ACSONE) and others added 22 commits December 10, 2021 10:12
…s to print to the 'create_xlsx_report' method + Instanciate the parser and make it available for the 'generate_xlsx_report' method
* refactor: On new ActionManager override _makeReportUrls and triggerDownload to support XLSX format
* pass action to custom _downloadReportXLSX: Need action to get report data
* dict constructor to remove context lang
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 88.2% (15 of 17 strings)

Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/de/
Currently translated at 94.4% (17 of 18 strings)

Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/pt/
@LoisRForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-554-by-LoisRForgeFlow-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Dec 10, 2021
Signed-off-by LoisRForgeFlow
@OCA-git-bot

Copy link
Copy Markdown
Contributor

@LoisRForgeFlow your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-554-by-LoisRForgeFlow-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@LoisRForgeFlow

Copy link
Copy Markdown
Contributor

Cache issue again in pre-commit.

@sbidoul Do you have a way to easily invalidate the cache of pre-commit jobs?

If not, we just need to wait a couple of days to try again the merge.

@AaronHForgeFlow

Copy link
Copy Markdown
Contributor

/ocabot migration report_xlsx

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Sorry @AaronHForgeFlow you are not allowed to mark the addon tobe migrated.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@pedrobaeza

Copy link
Copy Markdown
Member

Trusting on reviews:

/ocabot migration report_xlsx

/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Dec 11, 2021
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 15.0-ocabot-merge-pr-554-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Dec 11, 2021
20 tasks
OCA-git-bot added a commit that referenced this pull request Dec 11, 2021
Signed-off-by pedrobaeza
@OCA-git-bot

Copy link
Copy Markdown
Contributor

@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-554-by-pedrobaeza-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@pedrobaeza

Copy link
Copy Markdown
Member

It seems the problem with cached pre-commit is still there. Merging manually for now as no version bump is required.

@pedrobaeza
pedrobaeza merged commit a94fb9d into OCA:15.0 Dec 11, 2021
@LoisRForgeFlow
LoisRForgeFlow deleted the 15.0-mig-report_xlsx branch December 13, 2021 07:38
@BT-ojossen

BT-ojossen commented Jan 10, 2022

Copy link
Copy Markdown

Hello @JoanMForgeFlow, could it be that with this module installed, the default creation of a pdf is not working anymore?
Thanks for having a look.

@AaronHForgeFlow

Copy link
Copy Markdown
Contributor

@BT-ojossen if you uninstall this module is the default creation of pdf working? are you using enterprise version or community?

@BT-ojossen

Copy link
Copy Markdown

@JoanMForgeFlow
Yes, when I uninstall the module, the pdf creation is working. I'm using enterprise.

@AaronHForgeFlow

Copy link
Copy Markdown
Contributor

That seems something to investigate, I originally tested this in community version only.

@BT-ojossen

Copy link
Copy Markdown

Hi @AaronHForgeFlow
Thanks for your answer. Would it be possible that you have a look at this issue as you know best what you already did.
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.