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

[MIG] report_py3o: Migration to 17.0 #9

Merged
merged 119 commits into from
Oct 31, 2024
Merged

Conversation

psugne
Copy link

@psugne psugne commented Oct 31, 2024

Module was added from OCA PR

victoralmau and others added 30 commits October 9, 2024 09:43
…@T-raw

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@T-raw='docs.env["ir.qweb"].check_length(docs[0].vat, 10, False)[:10]' in template 237.
Replace by @t-out, and explicitely wrap content in `Markup` if necessary
(which likely is not the case)

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@T-raw='docs.env["ir.qweb"].check_length(docs[0].company_registry, False, 10)'
in template 237. Replace by @t-out, and explicitely wrap content in `Markup`
if necessary (which likely is not the case)
Execute pre-commit to remove the existing warning.

WARNING prod py.warnings: /opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py:178:
DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17,
report_qweb_parameter can just have a UTF8 description with not need for a declaration.
Signed-off-by pedrobaeza
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
lmignon and others added 25 commits October 31, 2024 15:29
(without these a CacheMiss error is thrown by odoo)
…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.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
@psugne psugne requested review from dangirasv and AurelijaNorvaisaite and removed request for dangirasv October 31, 2024 13:51
@psugne psugne merged commit 7f80f39 into 17.0-versada Oct 31, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.