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

[13.0] report_py3o, report_py3o_fusion_server: Migration to 13.0 #347

Merged
merged 109 commits into from
Jun 18, 2020

Conversation

lmignon
Copy link
Sponsor Contributor

@lmignon lmignon commented Nov 19, 2019

supersedes #339

lmignon and others added 30 commits November 19, 2019 14:23
Replace README.md by README.rst (not finished)
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
Rename __openerp__.py to __manifest__.py
Copy link

@njeudy njeudy left a comment

Choose a reason for hiding this comment

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

  • Ok for me code and test

Just some readme typo.

report_py3o/README.rst Show resolved Hide resolved
report_py3o/README.rst Show resolved Hide resolved
report_py3o/README.rst Show resolved Hide resolved
@lmignon
Copy link
Sponsor Contributor Author

lmignon commented Jan 7, 2020

@njeudy The readme file file is generated by oca-gen-addon-readme and will be regenerated by the bot when merging....

…lation

Bug when more than one conversion print is launched within the same libreoffice instance.

The standard behavior of libreoffice when a user open it while another instance is
running is to show a new window and throw an error if a new instance is forced within
the same user installation [see](https://bugs.documentfoundation.org/show_bug.cgi?id=37531).

This implies a bug in report_py3o module when we call libreoffice at the same time for
different documents.

To reproduce this bug:

**Case 1:**
1.  Simultaneously print two documents.

**Case 2:**
1.  Run print jobs using job_queue module
2.  Manually print another document

**Case 3:**
2.  Open libreoffice
3.  Print a py3o report

This PR creates a temporary user installation for each libreoffice conversion to bypass this limitation.
@sudo-san
Copy link

Is there an approximate date when report_py3o will be available for the V13?

Thank you for a short feedback.

@lmignon
Copy link
Sponsor Contributor Author

lmignon commented Mar 20, 2020

@sudo-san These addons are already migrated by reviews are required to get these merged

@sudo-san
Copy link

@lmignon Thanks a lot for you quick reply. Is there already a way to download the current version for odoo 13?

@lmignon
Copy link
Sponsor Contributor Author

lmignon commented Mar 23, 2020

@lmignon Thanks a lot for you quick reply. Is there already a way to download the current version for odoo 13?

from the submitted branch. https://github.com/acsone/reporting-engine/tree/13.0-mig-report_py3o

@njeudy
Copy link

njeudy commented May 12, 2020

@lmignon any way to make it merged ? I use this branch on my V13 deployments ..

@lmignon
Copy link
Sponsor Contributor Author

lmignon commented May 12, 2020

@njeudy Before the end of my wok and now some pre-commit hooks were added. After some tests, I'm not able to find a way to fix the code and have pre-commit happy....

Copy link
Sponsor

@tonygalmiche tonygalmiche left a comment

Choose a reason for hiding this comment

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

I tested on my computer
Everything works as expected
Thank you for this migration

@lmignon
Copy link
Sponsor Contributor Author

lmignon commented May 19, 2020

All the tests works on my computer and I don't see what's wrong with travis.... We also use successfully these addons into production.

@dreispt
Copy link
Sponsor Member

dreispt commented Jun 17, 2020

@lmignon TravicCI log shows one test failing. I can try a merge and see it we get a different result.

@dreispt
Copy link
Sponsor Member

dreispt commented Jun 17, 2020

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 13.0-ocabot-merge-pr-347-by-dreispt-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 8110770 into OCA:13.0 Jun 18, 2020
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 87f7e76. Thanks a lot for contributing to OCA. ❤️

@lmignon lmignon deleted the 13.0-mig-report_py3o branch June 18, 2020 07:13
@lmignon
Copy link
Sponsor Contributor Author

lmignon commented Jun 18, 2020

Thak you @dreispt

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

Successfully merging this pull request may close these issues.

None yet