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

Accessing the full Contact record from a Customer? Not just a popup?

Suscribirse

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

Se marcó esta pregunta
customercontactcompanypopup
2 Respuestas
5655 Vistas
Avatar
Community Question

When I have a Customer record like this:



When I click a Contact I get this popup:



I want to open the Contact record itself, not have it popup like that.  Is this possible?

0
Avatar
Descartar
Avatar
Ray Carnes (ray)
Mejor respuesta

You can create a Smart Button like this:



Which when clicked shows the original Company plus all the Contacts:



Find the database id of the standard Window Action that open Customers:



Make your own View like this:



<div name="button_box" position="inside">
<button name="55" type="action" string="Contacts" icon="fa-users"
context="{'search_default_parent_id': active_id}"/>
</div>


Depending on how you want the Button to work, you might need to modify the context dictionary.

2
Avatar
Descartar
Cliff Kujala

Hello Ray,

Since some time has passed I wanted to check with you to see if you feel this is still the best method to accomplish this. Does anything need to be updated for use with V17?

Thank you.

Ray Carnes (ray)

This works the same way for Odoo 17

John Neighbors

Ray,

Would you mind expanding a bit for someone that is proficient in technical details but is an Odoo newbie trying to get a handle on the steps required to implement your solution.

I'm missing some step along the way.

Thanks in advance. 

John Neighbors

Ping my prior post from 14 days ago. 😁☝🏻

Ray Carnes (ray)

Please review https://www.odoo.com/forum/help-1/how-can-our-team-hold-and-release-delivery-orders-based-on-the-sales-order-273935 for more information, and if you still need help I suggest you contact your Odoo Advisor or Odoo Partner.

This approach is only for Advanced Odoo Users and you might need several hours of help customized to your skill level.

Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

Hi,

Add a button with label Open in kanban view itself and in the button action open the record using the code like this,

Inherit the view like this:

<record id="view_partner_form_inherit" model="ir.ui.view">
<field name="name">res.partner.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='child_ids']/kanban/templates//div[@class='oe_kanban_details']" position="after">
<button name="action_open" string="Open" type="object">Open</button>
</xpath>
</field>
</record>

and inside the corresponding model:

def action_open(self):
for rec in self:
return {
"type": "ir.actions.act_window",
"res_model": "res.partner",
"views": [[False, "form"]],
"res_id": rec.id,
}

Thanks

1
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
Customer and contacts
customer contact
Avatar
Avatar
1
feb 22
9505
put a customer under a company using XML-RPC
customer company
Avatar
0
mar 15
5425
How to split companies and people in the contacts menu?
customer contact
Avatar
Avatar
Avatar
2
mar 15
6900
How to limit users view in the POS module so they only see customers in their State.
pos customer contact
Avatar
Avatar
1
feb 22
8802
Could we also set the company for a customer in the point of sale?
customer company Point Of Sale
Avatar
0
dic 15
3555
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