Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Issue with Digest Emails Showing Incorrect Data for One Company

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
opportunitiessalescrmemailrevenueodoodigestodoo17digest.digestdigest emailsodoo v17Bank & Cash Moves
2 Trả lời
1068 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Gracious Joseph
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Sibelle Ibri
Tác giả

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.

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
limiting the sales cycle to a salesperson?
opportunities sales crm
Ảnh đại diện
Ảnh đại diện
1
thg 3 15
4688
Change email model from "email_from" to "reply_to"
opportunities crm email leads
Ảnh đại diện
0
thg 1 22
3687
Is their a way to turn an email to me into a lead / opportunity Đã xử lý
opportunities sales email alias odoo10
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 4 24
11715
How to call create method of Purchase.Order from create method of Sale.Order?
purchase sales crm odoo v15
Ảnh đại diện
0
thg 9 22
4323
How to set up e-mail in Opportunity/lead? Đã xử lý
sales crm email lead incomingemail
Ảnh đại diện
Ảnh đại diện
1
thg 6 22
3726
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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