Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Guest House
    • Drankenhandelaar
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Solar Energy Systems
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC Services
    Others
    • Nonprofit Organization
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Issue with Digest Emails Showing Incorrect Data for One Company

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
opportunitiessalescrmemailrevenueodoodigestodoo17digest.digestdigest emailsodoo v17Bank & Cash Moves
2 Antwoorden
1075 Weergaven
Avatar
Sibelle Ibri

I’m facing an issue with digest emails in Odoo. We have two companies set up, and each company is supposed to receive its own separate digest email. However, for one of the companies, the data in the digest email is not correct.

The KPIs included in the digest email are:

  • Revenue
  • All Sales
  • Opportunities Won
  • Bank & Cash Moves

For the company with incorrect data:

  • There is no data available for All Sales, Opportunities Won, and Bank & Cash Moves.
  • The Revenue value is displayed in AED instead of USD, and there’s another USD value next to it. We need to convert the AED value to USD.

I’ve checked the configurations and everything seems fine, but the data is still incorrect for this company. Can anyone suggest what might be causing this discrepancy and how to fix it?

0
Avatar
Annuleer
Avatar
Gracious Joseph
Beste antwoord

The issue with incorrect data in digest emails for one of your companies in Odoo could be related to configuration, data synchronization, or currency settings. Let’s troubleshoot step by step and resolve the problem:

1. Verify Company-Specific Settings

Digest emails are company-specific, so incorrect data can arise if the configuration is not aligned with the company settings.

Steps to Check:

  1. Enable Debug Mode:
    • Go to Settings > Activate Developer Mode.
  2. Check Company Assignment:
    • Navigate to Settings > Users & Companies > Companies.
    • Open the affected company and verify:
      • The currency is set correctly (e.g., USD).
      • The related journals, accounts, and warehouses are properly configured for the company.
  3. Digest Configuration:
    • Go to Settings > Technical > Automation > Scheduled Actions.
    • Search for Digest Emails.
    • Ensure that the digest email is configured to display metrics specific to the affected company.

2. Investigate Data Sources for Metrics

Each KPI (e.g., Revenue, Opportunities Won, Bank & Cash Moves) in the digest email pulls data from specific models. Ensure the data is available and correctly recorded for the affected company.

Metrics and Data Sources:

  • Revenue:
    • Source: Invoices in Accounting > Invoices.
    • Verify that invoices for the affected company have:
      • The correct company set on each invoice.
      • The correct currency (e.g., AED or USD).
    • If the currency is incorrect, ensure exchange rates are set up (see Step 3).
  • All Sales:
    • Source: Sales orders in Sales > Orders.
    • Ensure sales orders for the affected company are confirmed and linked to the correct company.
  • Opportunities Won:
    • Source: CRM leads/opportunities in CRM > Opportunities.
    • Check that opportunities for the affected company:
      • Have the Won stage applied.
      • Are assigned to the correct company.
  • Bank & Cash Moves:
    • Source: Journals in Accounting > Journals.
    • Verify that bank and cash transactions are posted to journals associated with the correct company.

3. Check and Configure Multi-Currency Settings

The discrepancy between AED and USD values in the Revenue metric might be caused by currency configuration issues.

Steps to Fix:

  1. Enable Multi-Currency:
    • Go to Settings > Accounting.
    • Enable Multi-Currency if it isn’t already enabled.
  2. Set Exchange Rates:
    • Navigate to Accounting > Configuration > Currencies.
    • Open AED and USD, and ensure exchange rates are up to date.
    • Update rates if necessary:
      • Go to Accounting > Configuration > Settings.
      • Enable automatic exchange rate fetching.
  3. Ensure Correct Currency on Transactions:
    • Check invoices, journals, and sales orders for the affected company to confirm they are recorded in AED or USD as expected.
  4. Test Conversion:
    • If the Revenue value is being displayed in AED but needs to be converted to USD:
      • Navigate to the invoice or sales order in question.
      • Validate whether the AED value is correctly converted to USD using the set exchange rate.

4. Ensure Digest Email is Fetching the Correct Data

The digest email relies on digest.digest configurations. Misalignment between the email configuration and the company-specific data might cause incorrect values.

Steps to Fix:

  1. Review Digest Email Settings:
    • Navigate to Settings > Technical > Digest > Digest Emails.
    • Open the digest email configuration for the affected company.
    • Verify:
      • The metrics are correctly defined (e.g., Revenue, All Sales).
      • The company filter is applied.
  2. Check the Python Code (if customized):
    • If the digest email has been customized, ensure the code correctly fetches data for the company.
    • Example:
      revenue = self.env['account.move'].search([
          ('move_type', '=', 'out_invoice'),
          ('company_id', '=', company.id),
          ('currency_id', '=', usd_currency_id)
      ]).mapped('amount_total')
      

5. Troubleshoot Currency Conversion in Digest

To ensure Revenue values are displayed correctly in USD:

  1. Navigate to Settings > Technical > Digest > Digest Emails.
  2. Look for the Revenue metric's computation logic.
  3. If the currency mismatch persists, add conversion logic:
    usd_amount = self.env['res.currency']._convert(
        amount_in_aed,
        usd_currency,
        company,
        fields.Date.today()
    )
    

6. Test and Validate

After implementing the above changes:

  1. Force a Digest Email:
    • Manually trigger the digest email:
      • Go to Settings > Technical > Scheduled Actions > Digest Emails.
      • Click Run Manually.
    • Verify that the email displays the correct data.
  2. Cross-Check Values:
    • Compare the values in the digest email with records in Odoo (e.g., Sales Orders, Invoices).

7. Common Pitfalls

  • Incorrect Journal Assignments: Ensure bank and cash journals are linked to the correct company.
  • Data Inconsistencies: Check that sales orders, invoices, and opportunities explicitly belong to the affected company.
  • Currency Configuration Issues: Always set the base currency correctly for each company.

Conclusion

By verifying company-specific configurations, ensuring correct data sources, and properly handling multi-currency settings, you can resolve the discrepancies in digest emails. Let me know if you need more help with specific configurations!

0
Avatar
Annuleer
Sibelle Ibri
Auteur

I’ve gone through the steps you mentioned and reviewed the system settings, but I’m still unsure about a few things:

Customization: We don’t have any customizations beyond the conversion rate logic. However, I’m not sure if this might be affecting the data being displayed in the digest emails. Could the conversion handling possibly be causing discrepancies in the figures?

Multiple Companies: We have two companies with different data (such as currencies and financial records). Could this difference in company setup be affecting the data shown in the digest emails? I’m not sure if the system handles multiple companies with different configurations properly when generating the email.

Could you provide some guidance on whether the conversion rate or the presence of two different companies could be causing these issues? Any suggestions on how to proceed would be greatly appreciated!

Thanks in advance for your help.

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
limiting the sales cycle to a salesperson?
opportunities sales crm
Avatar
Avatar
1
mrt. 15
4740
Change email model from "email_from" to "reply_to"
opportunities crm email leads
Avatar
0
jan. 22
3696
Is their a way to turn an email to me into a lead / opportunity Opgelost
opportunities sales email alias odoo10
Avatar
Avatar
Avatar
Avatar
3
apr. 24
11728
How to call create method of Purchase.Order from create method of Sale.Order?
purchase sales crm odoo v15
Avatar
0
sep. 22
4330
How to set up e-mail in Opportunity/lead? Opgelost
sales crm email lead incomingemail
Avatar
Avatar
1
jun. 22
3743
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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