Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to link invoice to Sales Team?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
salesv8crminvoice
1 Respondre
8978 Vistes
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)
Best Answer

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

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How can I analyse my Sales Performance? Solved
sales v8 crm
Avatar
1
de març 15
7454
Generate CRM opportunity from sales quotation
sales crm
Avatar
Avatar
Avatar
2
d’ag. 25
4839
Sales upload Template required
sales invoice
Avatar
Avatar
2
de des. 23
4067
Extend action sale_action_quotations_new in button New Quotation
sales crm
Avatar
Avatar
1
de jul. 23
2728
Hide Sales Menu in CRM Solved
sales crm
Avatar
Avatar
1
de juny 23
1775
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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