OCA / vertical-association

Odoo addons for membership related tasks
GNU Affero General Public License v3.0
38 stars 112 forks source link

[15.0][MIG] website_membership_random_order: Migration to version 15.0 #143

Closed stefan-tecnativa closed 1 year ago

stefan-tecnativa commented 1 year ago

cc @Tecnativa TT42051

@pedrobaeza please review!

stefan-tecnativa commented 1 year ago

It isn't working for me. The members always appear in the same order. Does it work for you?

I've observed that in both 13.0 and 14.0 runbots, the behavios that you are describing happens also for the members that has their state on "free member". But for those who has their state on "paid" this is not happening and they are displayed randomly. Searching I've found this, but I'm not sure if it has any relation with our problem: https://github.com/odoo/odoo/blob/15.0/addons/website_membership/controllers/main.py#L44

chienandalu commented 1 year ago

True, they're randomized inside their membership category and free members don't get randomized at all. We can live with that IMO

pedrobaeza commented 1 year ago

/ocabot migration website_membership_random_order

pedrobaeza commented 1 year ago

With the latest change, from odoo import http should go away.

OCA-git-bot commented 1 year ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 15.0-ocabot-merge-pr-143-by-pedrobaeza-bump-nobump, awaiting test results.

OCA-git-bot commented 1 year ago

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