Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Odoo 13 CE - website_membership - Problem with sort order of members

Naroči se

Get notified when there's activity on this post

This question has been flagged
websitemembershipOdoo13.0
2 Odgovori
3181 Prikazi
Avatar
Christian Fraesdorff

Hello everyone,

I am currently transferring a website for a club from Odoo 11 CE to Odoo 13 CE. Installed are among others the modules "membership" and "website_membership".

"website_membership" creates a (web) index page of the members. This page is (correctly) sorted alphabetically in Odoo 11, but not in Odoo 13. Here are two example sections to illustrate this:

in Odoo 11 CE - correct / as I need it:

Abfall..., ABO W..., AEV ..., Arma..., Awi..., BDZ...,

in Odoo 13 CE - incorrect:

ABO W..., AEV..., Abfall..., Arma..., Awi..., BDZ...

on the one hand I don't understand the reason - as far as I understand the source-code (templates / controllers), I don't see any difference - and on the other hand I don't know how I can correct this ... Maybe someone has a hint?
Btw the only installed language is German (Odoo 11 CE as well as 13 CE - so the language seems to be not the problem.

0
Avatar
Opusti
Avatar
Christian Fraesdorff
Avtor Best Answer

Hello Mohamed - thanks for your efforts. Unfortunately this does not seem to be the solution, apart from the fact that I could not implement it.

In the meantime I have found that the problem seems to go deeper. Because when I look at the contacts in Odoo 11 - regardless of the website problem - they are sorted exactly as I described above for the listing of members on the website in Odoo 11. 

The same applies to the sorting of the contacts in the contact view in Odoo 13 - i.e. there the contacts are sorted differently than in Odoo 11 - exactly as I described it for the listing of the members in Odoo 13 on the website. In my opinion this sorting is wrong because it should be alphabetically independent of upper or lower case letters and the German letters "ÜÖÄüöä" should not be sorted to the end of a list ...


So now the question arises whether the basic sorting in Odoo was changed from version 11 to 13 and / or which parameter I did not / incorrectly set in Odoo 13 to get the same result as in Odoo 11?

By the way - I have not adjusted / changed any sorting settings for the contact masks in Odoo 11 or Odoo 13 - everything is standard.

1
Avatar
Opusti
Avatar
Mohamed Lamine Lalmi
Best Answer

Hello Christian,

The membership records, by default, are ordered by id. Please refer to addons/membership/models/membership.py --> membership.line model:

class MembershipLine(models.Model):
_name = 'membership.membership_line'
_rec_name = 'partner'
_order = 'id desc'
_description = 'Membership Line'

To achieve your need, you can override the members controller on the module website_membership and add the order attribute to search method call when searching membership lines. (website_membership/controllers/main.py --> members method)

I hope that my response will be helpful for you.

Good luck.


0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Require checkbox to be selected Solved
form website Odoo13.0
Avatar
Avatar
1
nov. 20
7389
HOW TO INHERIT DEFAULT CREATED WEBSITE MENUS IN MULTI-WEBSITE Solved
website multi-website Odoo13.0
Avatar
1
sep. 20
4082
Why odoo13 website menu fade out so slow?
menu website Odoo13.0
Avatar
Avatar
1
jul. 20
4222
inherit the home controller odoo 13
controller website Odoo13.0
Avatar
2
jul. 20
5023
how to limit website content visibility by group odoo 13
python website Odoo13.0
Avatar
0
jun. 20
3412
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now