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
    • e-learning
    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 pub
    • 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
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • 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
    Explorar todos los sectores
  • 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
    • Servicios para 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

Issue with many2one fields visibility in Odoo Studio

Suscribirse

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

Se marcó esta pregunta
many2onevisibilityconditionsOdooStudio
1 Responder
2322 Vistas
Avatar
Goldenwolfgroup

i am using odoo studio app to configure the product page..

i have two many2one fields. the first one name is [custom product type] and the second one name is [ jewelry product type].

on the other hand each of this fields contains a records.

the first many2one field contains : [Jewelry Products], [Jewelry Materials], [Jewelry Packaging Products], [Jewelry Manufacturing Products] and the second one contains: [Finished], [Semi-Finished]

the first field Technical Name is : x_studio_many2one_field_p3h9M the second Technical Name is: x_studio_many2one_field_OMXi0

this is the Inherited View of Odoo Studio: product.template.product.form customization

` `

{}

{}1

{}

{}

(is not =) which is like this when i use: [["x_studio_many2one_field_p3h9M","!=","Jewelry Products"]] 2nd >> (=) which is like this when i use: [["x_studio_many2one_field_p3h9M","!=","Jewelry Products"]] 3rd >> (is set) which is like this when i use: [["x_studio_many2one_field_p3h9M","!=",False]] 4th >> (is not set) which is like this when i use: [["x_studio_many2one_field_p3h9M","=",False]]

none of them is not working correctly. could anyone help me?


0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

To filter records based on the selection of another field in Odoo Studio, you can use domain expressions. Here's how you can achieve the desired filtering:

  1. Filter the records in the second many2one field based on the selection in the first many2one field.

Let's assume you want to filter the [jewelry product type] field based on the selection in the [custom product type] field.

You can use a dynamic domain expression in the [jewelry product type] field to achieve this. Here's how you can set it up:

In the [jewelry product type] field properties:

  • Field Name: x_studio_many2one_field_OMXi0
  • Domain: [["x_studio_many2one_field_p3h9M", "=", "Jewelry Products"]]

This domain expression will filter the [jewelry product type] field to only show records where the value of the [custom product type] field is "Jewelry Products".

Similarly, you can define different domain expressions for other values of the [custom product type] field.

Make sure to replace "Jewelry Products" with the actual name of the option in your [custom product type] field.

Repeat the above steps for each option in the [custom product type] field to set up appropriate filtering for the [jewelry product type] field based on the selection in the [custom product type] field.


Hope it helps

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
on selecting many to one relation value how to changg the fields visibility
many2one visibility
Avatar
Avatar
2
sept 15
4173
Setting complex conditional visibility in website template
fields_view_get visibility conditions
Avatar
0
abr 25
2868
value not pass from many2one field to form
many2one
Avatar
Avatar
Avatar
Avatar
3
sept 25
2502
Display values of dropdown in a many2one field Resuelto
many2one
Avatar
Avatar
2
feb 25
7139
Report or view to show discounts given as a result of coupons used on ecommerce
OdooStudio
Avatar
0
jul 24
1831
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 empresariales de código abierto que cubre 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 estar 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