Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Issue with many2one fields visibility in Odoo Studio

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
many2onevisibilityconditionsOdooStudio
1 Responder
2329 Visualizações
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
Cancelar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
on selecting many to one relation value how to changg the fields visibility
many2one visibility
Avatar
Avatar
2
set. 15
4174
Setting complex conditional visibility in website template
fields_view_get visibility conditions
Avatar
0
abr. 25
2873
value not pass from many2one field to form
many2one
Avatar
Avatar
Avatar
Avatar
3
set. 25
2506
Display values of dropdown in a many2one field Resolvido
many2one
Avatar
Avatar
2
fev. 25
7146
Report or view to show discounts given as a result of coupons used on ecommerce
OdooStudio
Avatar
0
jul. 24
1832
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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