-
-
Notifications
You must be signed in to change notification settings - Fork 169
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][MIG] - migration pricelist brand to 14.0 #122
base: 14.0
Are you sure you want to change the base?
Conversation
Hi, I need guidance to know how to solve the test errors that are appearing in the PR |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional: LGTM
If pricelist is archived the rule will still be fetched (see code review).
That doesn't really impact the workflow as you shouldn't be able to fetch archived pricelist from sale order or in website context.
PR approved :-)
AND (item.product_brand_id IS NULL OR item.product_brand_id = any(%s)) | ||
AND (item.pricelist_id = %s) | ||
AND (item.date_start IS NULL OR item.date_start<=%s) | ||
AND (item.date_end IS NULL OR item.date_end>=%s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I think a line
AND (item.active = TRUE)
is missing if compared to the original method. Has it been removed for specific reasons?
https://github.com/odoo/odoo/blob/14.0/addons/product/models/product_pricelist.py#L111
No description provided.