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

[17.0][FIX] pdf_helper: Odoo compatibility #1057

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Oct 25, 2024

Odoo compatibility

Related to odoo/odoo#183165

@Tecnativa

@OCA-git-bot
Copy link
Contributor

Hi @alexis-via, @simahawk,
some modules you are maintaining are being modified, check this out!

@victoralmau
Copy link
Member Author

I'm not sure of the proper solution, if you install pypdf it seems that's when the error happens. any suggestions?

@pedrobaeza pedrobaeza added this to the 17.0 milestone Oct 25, 2024
@pedrobaeza pedrobaeza force-pushed the 17.0-fix-pdf_helper-tests branch from 3d8df8f to 522d412 Compare October 25, 2024 07:51
@pedrobaeza pedrobaeza force-pushed the 17.0-fix-pdf_helper-tests branch from 522d412 to 6d16cb1 Compare October 25, 2024 07:59
@pedrobaeza
Copy link
Member

@simahawk do you have any clue?

@simahawk
Copy link
Contributor

maybe this? #1041

@victoralmau victoralmau force-pushed the 17.0-fix-pdf_helper-tests branch 2 times, most recently from 39f043e to 3d8df8f Compare October 25, 2024 15:00
@victoralmau
Copy link
Member Author

maybe this? #1041

Thanks, but that doesn't seem to solve the problem https://github.com/OCA/edi/actions/runs/11520562675/job/32072176936?pr=1057#step:8:56.

Since odoo/odoo#183165, it's failing. After a
lot of time trying to get it working without sucess, let's disable it
for greenifying the branch.

FWIW, it seems Odoo wrapping class is calling `add_metadata` super
method without first initializing empty metadata, provoking the assert.
@pedrobaeza pedrobaeza force-pushed the 17.0-fix-pdf_helper-tests branch from 3d8df8f to 99fdedd Compare October 26, 2024 09:29
@pedrobaeza pedrobaeza marked this pull request as ready for review October 26, 2024 09:30
@pedrobaeza
Copy link
Member

I have finally disabled the test for now, as we need to greenify the branch.

FWIW, it seems Odoo wrapping class is calling add_metadata super method without first initializing empty metadata, provoking the assert.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-1057-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 772af10 into OCA:17.0 Oct 26, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 17.0-fix-pdf_helper-tests branch October 26, 2024 09:45
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.

4 participants