Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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

How to link invoice to Sales Team?

Suscribirse

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

Se marcó esta pregunta
salesv8crminvoice
1 Responder
9052 Vistas
Avatar
Bob Muller

We use the CRM module to define sales teams for different market segments. Now for each sales team, the Kanban view shows number of leads, invoices, opportunities and the amount invoiced this month. This last value can only be determined if the invoices are linked to a sales team. However, we couldn't find any way to link the an invoice to a specific sales team.

0
Avatar
Descartar
Avatar
Olivier Dony (odo)
Mejor respuesta

As of v7 when you install both CRM and Sales Management a new "Sales Team" field appears in the "Other Info" tab on invoices (I think this field is visible by default for everyone). This is the link that the system uses to find all invoices related to a given Sales Team.

By the way you should not need to set the Sales Team manually on invoices, as users can choose their "Default Sales Team" in their preferences (this is a new field that also appears if you install CRM and Sales Management). The Default Sales Team of each user will be automatically set on new invoices they have created.

Update: In current trunk (future v8) the visibility of the Sales Teams depends on an extra setting that needs to be enabled: Settings > Configuration > Sales, check "Organize Sales activities into multiple Sales Team".

1
Avatar
Descartar
Bob Muller
Autor

Thanks for your answer, this seems logical as the invoice business object does seem to have a section_id field in the database. However, in our v7 installation the account_invoice_view.xml does not have this field added. Could it be that the order in which modules are installed matters? For now we will locally fix the view so that we can set the Sales Team manually.

Bob Muller
Autor

Also, we are using Sales Teams to differentiate between markets but personal is working in all teams and hence have no default Sales Team assigned. It's just a different use case for small companies...

Olivier Dony (odo)

Technically, you will not find that field in account/account_invoice_view.xml because it is added via an inherited view in the sale_crm module, in sale_crm/sale_crm_view.xml. The sale_crm module is automatically installed if you install both sale and crm.

Olivier Dony (odo)

If you can't use a default sales team for your users you'll need to find a different way to automatically assign the right team on each invoice. It could be done via a very small custom module or perhaps by setting appropriate default_section_id values in the context of actions that lead to the creation of an invoice... it really depends on your use case though.

Bob Muller
Autor

I just checked the view using the debug-functionality, and apparently the section_id is there but invisible: <field name="section_id" invisible="1" modifiers="{'invisible': true}"/> Not sure how it got there though. The sale_crm.account_invoice_form view in the database modifies the view like this: <field name="section_id" groups="base.group_multi_salesteams"/> Anyway, it might just be a glitch: we're working with the bleeding edge version of OpenERP.

Olivier Dony (odo)

Oh you're on trunk, that's why I did not understand :-) In trunk a new setting was recently added in Settings > Configuration > Sales, it's labelled "Organize Sales activities into multiple Sales Teams". You need to check that option and the field will become visible (technically, all users will have an extra group, and the invisible flag will be removed, it's a consequence of the groups attributes to restrict the visibility)

Bob Muller
Autor

Thanks again! That did it! Now I also learned something about view inheritance and how it is implemented in OpenERP...

¿Le interesa esta conversación? ¡Participe en ella!

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How can I analyse my Sales Performance? Resuelto
sales v8 crm
Avatar
1
mar 15
7539
Generate CRM opportunity from sales quotation
sales crm
Avatar
Avatar
Avatar
2
ago 25
4939
Sales upload Template required
sales invoice
Avatar
Avatar
2
dic 23
4134
Extend action sale_action_quotations_new in button New Quotation
sales crm
Avatar
Avatar
1
jul 23
2804
Hide Sales Menu in CRM Resuelto
sales crm
Avatar
Avatar
1
jun 23
1775
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar totalmente integrado.

Sitio web hecho con

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