Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Real Estate
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Consulting
    • Accounting Firm
    • Партнер Odoo
    • Marketing Agency
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Issue with Digest Emails Showing Incorrect Data for One Company

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
opportunitiessalescrmemailrevenueodoodigestodoo17digest.digestdigest emailsodoo v17Bank & Cash Moves
2 Відповіді
1067 Переглядів
Аватар
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
Аватар
Відмінити
Аватар
Gracious Joseph
Найкраща відповідь

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
Аватар
Відмінити
Sibelle Ibri
Автор

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.

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

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

Реєстрація
Related Posts Відповіді Переглядів Дія
limiting the sales cycle to a salesperson?
opportunities sales crm
Аватар
Аватар
1
бер. 15
4688
Change email model from "email_from" to "reply_to"
opportunities crm email leads
Аватар
0
січ. 22
3687
Is their a way to turn an email to me into a lead / opportunity Вирішено
opportunities sales email alias odoo10
Аватар
Аватар
Аватар
Аватар
3
квіт. 24
11715
How to call create method of Purchase.Order from create method of Sale.Order?
purchase sales crm odoo v15
Аватар
0
вер. 22
4323
How to set up e-mail in Opportunity/lead? Вирішено
sales crm email lead incomingemail
Аватар
Аватар
1
черв. 22
3726
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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