Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
websitemembershipOdoo13.0
2 Respuestas
3174 Vistas
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
Descartar
Avatar
Christian Fraesdorff
Autor Mejor respuesta

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
Descartar
Avatar
Mohamed Lamine Lalmi
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Require checkbox to be selected Resuelto
form website Odoo13.0
Avatar
Avatar
1
nov 20
7385
HOW TO INHERIT DEFAULT CREATED WEBSITE MENUS IN MULTI-WEBSITE Resuelto
website multi-website Odoo13.0
Avatar
1
sept 20
4072
Why odoo13 website menu fade out so slow?
menu website Odoo13.0
Avatar
Avatar
1
jul 20
4210
inherit the home controller odoo 13
controller website Odoo13.0
Avatar
2
jul 20
5017
how to limit website content visibility by group odoo 13
python website Odoo13.0
Avatar
0
jun 20
3404
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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