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

[16][FIX] account_financial_report : fix wizard model names sent to qweb reports for vat and aged balance reports #1244

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

florian-dacosta
Copy link
Contributor

The issue seems obvious, we get a wizard_id related to respectively aged.partner.balance.report.wizard and vat.report.wizard models but we browse it with another model (open.items.report.wizard).

As a result, if you try to read a field from the wizard in the qweb template, it will likely fail with an error like "The record is inexisting or has been deleted"

The problem does only appear in case of override of the qweb template and trying to read of field of the variable o which represent the wizard.

I will forward port-it to 17.

A fast review is very welcome if you could as it is quite an easy one
@pedrobaeza @alexis-via @victoralmau @carlosdauden

@pedrobaeza pedrobaeza added this to the 16.0 milestone Oct 29, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-1244-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 136c0f3 into OCA:16.0 Oct 29, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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