Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    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
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Issue with Digest Emails Showing Incorrect Data for One Company

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
opportunitiessalescrmemailrevenueodoodigestodoo17digest.digestdigest emailsodoo v17Bank & Cash Moves
2 Ответы
1071 Представления
Аватар
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.

Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
limiting the sales cycle to a salesperson?
opportunities sales crm
Аватар
Аватар
1
мар. 15
4708
Change email model from "email_from" to "reply_to"
opportunities crm email leads
Аватар
0
янв. 22
3693
Is their a way to turn an email to me into a lead / opportunity Решено
opportunities sales email alias odoo10
Аватар
Аватар
Аватар
Аватар
3
апр. 24
11725
How to call create method of Purchase.Order from create method of Sale.Order?
purchase sales crm odoo v15
Аватар
0
сент. 22
4326
How to set up e-mail in Opportunity/lead? Решено
sales crm email lead incomingemail
Аватар
Аватар
1
июн. 22
3737
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة 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, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

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