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

[14.0][FIX] fleet_vehicle_log_fuel: Don't replace whole SQL view + make it work + renaming (backport) #139

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

MiquelRForgeFlow
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow commented Mar 1, 2024

From #138.

@pedrobaeza
Copy link
Member

Please cherry-pick whole commit instead, adapting it to the 14.0 SQL. This way, it works, but replacing every other possible adaptation in other third-party modules. Let's do things right.

@pedrobaeza pedrobaeza added this to the 14.0 milestone Mar 1, 2024
@MiquelRForgeFlow MiquelRForgeFlow changed the title [FIX] fleet_vehicle_log_fuel: make the report working [14.0][FIX] fleet_vehicle_log_fuel: Don't replace whole SQL view + make it work + renaming (backport) Mar 1, 2024
…work + renaming

Replacing whole SQL view definition is totally incompatible with other
modules adding things to this report. We use a trick for replacing
only some parts retrieving the current SQL view for keeping the
inheritability.

We need as well to add the new selection value.

Finally, a renaming of the model file for proper recognition has been
done.

TT48062
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.

Let's fix the module:

/ocabot merge major

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-139-by-pedrobaeza-bump-major, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 360d18d into OCA:14.0 Mar 1, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@MiquelRForgeFlow MiquelRForgeFlow deleted the 14.0-fix-fleet_vehicle_log_fuel branch March 4, 2024 09:15
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.

3 participants