Skip to content

Conversation

@aleuffre
Copy link

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

Changes looks fine

@aleuffre
Copy link
Author

Changes looks fine

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

Copy link

@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

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