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
[FIX] point_of_sale: load product requests #124223
Conversation
When the pos was loading only a part of the products, the request should follow those rules order: - product is a favorite - product is a service - product had stock moves soon - product update But this request didn't take into account consumables products and if there was no stock move, the value was null and postgres consider null values first when ordering desc. Now with that changes, the order is correctly set based on the rules above.
432f299
to
68ef85c
Compare
@robodoo r+ |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
7 similar comments
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
1 similar comment
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
@rhe-odoo @davidmonnom this pull request has forward-port PRs awaiting action (not merged or closed): |
When the pos was loading only a part of the products, the request should follow those rules order:
But this request didn't take into account consumables products and if there was no stock move, the value was null and postgres consider null values first when ordering desc. Now with that changes, the order is correctly set based on the rules above.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr