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 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

Show Link to Opportunity from Sale order view

Suscribirse

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

Se marcó esta pregunta
hyperlinksale.orderopportunity
4 Respuestas
8715 Vistas
Avatar
Florian

Hi!

When I enable technical features I get the following view in a sale.order (apparently no pictures here…).

Click on Other Information => Reporting Section shows with a link to the Opportunity.

With tech. features disabled this section does not show. So there is no way to get back to the Opportunity. How can I show this always for all users that have sale.order access rights?

Version: Odoo 9.0

–Flo

0
Avatar
Descartar
Avatar
Jerome Guerriat
Mejor respuesta

This is because the view in sale_crm indicate that the field is only visible for member of group 'base.group_no_one', which is a special group. You belong to that group if you are currently in debug mode (tech features)..


If you want the field opportunity to be shown in the form view of the sale order even when you are not in debug mode, you can simply create a new view in a module:


<record id="sale_view_inherit123" model="ir.ui.view">
<field name="name">sale.order.form.odc</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale_crm.sale_view_inherit123"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='opportunity_id']" position="attributes">
<attribute name="groups"/>
</xpath>
</field>
</record>
0
Avatar
Descartar
Ray Carnes

Good answer. This can also be created via the User Interface. Settings --> Technical --> User Interface --> Views. The module approach inserts an ir.ui.view record into Odoo, the UI approach has the user do the same thing.

Sehrish

Read more inheritance concept: https://goo.gl/4Zyc9d

Avatar
Stefan Richter
Mejor respuesta

Hello,

you also have to change in Inherited view "sale.order.form" the access from the "reporting"-group.

 <group string="Reporting" name="technical" groups="sales_team.group_sale_salesman">

                                    <field groups="sales_team.group_sale_salesman" name="origin"/>

                                </group>


Then it will work.

0
Avatar
Descartar
Avatar
Florian
Autor Mejor respuesta

@Ray Carnes: How would I do that? I added the two fields that I want to view, but they are only shown when in debug mode?! What line do I need in the view? I could write something like:

<field name="origin" groups="base.group_sale_salesman_all_leads"/>
<field name="opportunity_id" groups="base.group_sale_salesman_all_leads"/>

But that does not work either. I also tried without the extra groups without success.

I also tried, just changing the access rights for the fields, but that does not work at all. It complains, that the rights for base fields cannot be set: Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!  

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
How to get a hyperlink for the current record in an email template for sale.order?
hyperlink template sale.order v11
Avatar
0
ago 21
5439
Display field only for one company on list view Resuelto
sale.order
Avatar
Avatar
1
may 25
1838
Sale order Balance
sale.order
Avatar
Avatar
Avatar
2
nov 24
2881
CREATE OPPORTUNITIES FROM INITIAL LIST OF CONTACTS
opportunity
Avatar
0
ago 24
1624
Mark a sales order as fully invoiced despite Order amount and invoiced amount do not match () Resuelto
sale.order
Avatar
Avatar
Avatar
Avatar
Avatar
4
feb 24
13568
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