Skip to content

[FIX] mail: progress bar if from parameters#1251

Open
HekkiMelody wants to merge 1 commit intoOCA:14.0from
PyTech-SRL:14.0-fix-progress-bar
Open

[FIX] mail: progress bar if from parameters#1251
HekkiMelody wants to merge 1 commit intoOCA:14.0from
PyTech-SRL:14.0-fix-progress-bar

Conversation

@HekkiMelody
Copy link
Copy Markdown

Backport of commit 904d0aa (Pull request: odoo#78837 ) for 14.0

If there was parameters in the from clause, there was a possible error
when reading progress bar for activities.

eg. grouping product.product by "Routes" raise an error because we have
in FORM clause like:

    FROM … ON … AND "product_template__route_ids"."route_id" IN
    (SELECT … WHERE … OR ("stock_location_route"."company_id" in %s))

so when we add timezone to parameters, it should be after FROM clause
parameters and before WHERE clause parameters.

opw-2674179

closes odoo#78837

Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
@anusriNPS
Copy link
Copy Markdown

Changes looks fine

@HekkiMelody
Copy link
Copy Markdown
Author

Changes looks fine

If you think it's fine could you please approve the PR @anusriNPS ? Thank you!

Copy link
Copy Markdown

@renda-dev renda-dev left a comment

Choose a reason for hiding this comment

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

Code and functional review, LGTM!

@OCA-git-bot
Copy link
Copy Markdown

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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.

5 participants