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ợ

ODOO 15.0 : The redirect URI 'http://localhost:8069/microsoft_outlook/confirm' specified in the request does not match the redirect URIs configured for the application

Đă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ờ
systemparametersweb.base.urlreport.urlv15
3 Trả lời
10134 Lượt xem
Ảnh đại diện
Boujraf Youssef

Dear All,

I am using the "fetchmail outlook" to authenticate to o365 version 15.0.1.0.1

My systems settings :

- web.base.url = my url of odoo

- web.base.url.freeze  = True then normally my url didn't change.


Finally, when I try to export in pdf, it takes too long and I have found in the forum to use :

- report.url  = http://localhost:8069 then the pdf is exported asap.


But now, I am figuring out an issue when odoo fetch the outlook imap, the "web\.base\.url"\ is\ forced\ to\ "http://localhost"\ even\ the\ "web\.base\.url\.freeze\ is\ forced\ to\ True"\.

The\ error\ message\ is\ :

INFO:odoo\.addons\.fetchmail\.models\.fetchmail:General\ failure\ when\ trying\ to\ fetch\ mail\ from\ imap\ server\ accounting\ o365\ outlook\ incoming\.\#012Traceback\ \(most\ recent\ call\ last\):\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail/models/fetchmail\.py",\ line\ 184,\ in\ fetch_mail\#012\ \ \ \ imap_server\ =\ server\.connect\(\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail/models/fetchmail\.py",\ line\ 115,\ in\ connect\#012\ \ \ \ self\._imap_login\(connection\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/fetchmail_outlook/models/fetchmail_server\.py",\ line\ 54,\ in\ _imap_login\#012\ \ \ \ auth_string\ =\ self\._generate_outlook_oauth2_string\(self\.user\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 167,\ in\ _generate_outlook_oauth2_string\#012\ \ \ \ \)\ =\ self\._fetch_outlook_access_token\(self\.microsoft_outlook_refresh_token\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 108,\ in\ _fetch_outlook_access_token\#012\ \ \ \ response\ =\ self\._fetch_outlook_token\('refresh_token',\ refresh_token=refresh_token\)\#012\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 146,\ in\ _fetch_outlook_token\#012\ \ \ \ raise\ UserError\(_\('An\ error\ occurred\ when\ fetching\ the\ access\ token\.\ %s'\)\ %\ error_description\)\#012odoo\.exceptions\.UserError:\ An\ error\ occurred\ when\ fetching\ the\ access\ token\.\ AADSTS50011:\ The\ redirect\ URI\ 'http://localhost:8069/microsoft_outlook/confirm'\ specified\ in\ the\ request\ does\ not\ match\ the\ redirect\ URIs\ configured\ for\ the\ application\ '053c8b68\-xxxxxxxxxx0fd7'\.\ Make\ sure\ the\ redirect\ URI\ sent\ in\ the\ request\ matches\ one\ added\ to\ your\ application\ in\ the\ Azure\ portal\.\ Navigate\ to\ https://aka\.ms/redirectUriMismatchhttps://aka.ms/redirectUriMismatchErrorError to learn more about how to fix this.#015#012Trace ID: 5289780b-ce64-4609-acb9-0fe068eb4100#015#012Correlation ID: ac9001e8-d320-418b-9071-1538cfdf7e5f#015#012Timestamp: 2023-04-17 18:15:57Z

Thanks if anybody could highlight me to the correct path.
0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Bhavin Patel
Câu trả lời hay nhất

This error message is typically related to an issue with the Microsoft Outlook integration in Odoo. It means that the redirect URI specified in the Outlook integration settings does not match the redirect URIs configured in the Microsoft Azure Active Directory application.

Here are some steps to resolve the issue:

  1. Log in to the Microsoft Azure Portal and navigate to the Azure Active Directory application you created for the Odoo Outlook integration.

  2. Under the "Authentication" tab, verify that the redirect URI specified in the application settings matches the redirect URI specified in the Odoo Outlook integration settings. In this case, the redirect URI should be 'http://localhost:8069/microsoft_outlook/confirm'.

  3. If the redirect URIs do not match, update the redirect URI in the Azure Active Directory application settings to match the one specified in the Odoo Outlook integration settings.

  4. Save the changes and try to connect to the Outlook integration again in Odoo.


2
Ảnh đại diện
Huỷ bỏ
Boujraf Youssef
Tác giả

Thanks dear for your highlight.

We have forced the "report.url.freeze" to "True" and "reset confirmation " and finally forced "Edit Setting" than we got again the popup to enable the OAUTH2.0 and the callback worked again.

Best Regards,

Ảnh đại diện
Rani Tathod
Câu trả lời hay nhất

Understanding Odoo's system parameters can help prevent issues like incorrect PDF reporting.



  Check the 'report.url' parameter in System Parameters under Settings to ensure it's correctly set.

  Review other common parameters like 'web.base.url' and 'database.uuid' for consistency.

  Consult Odoo's official documentation for a comprehensive list of system parameters and their purposes.


If you'd like to explore this further for your use case, you're welcome to connect with us at Pragmatic Techsoft.

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Mohamed Lotfy
Câu trả lời hay nhất

Dear youssef

Please explain your steps to resolve this issue

0
Ảnh đại diện
Huỷ bỏ
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
How many base parameters in odoo's system param? Đã xử lý
systemparameters report.url
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 9 25
887
show menu item based on system parameter odoo 15 Đã xử lý
menuitem systemparameters v15
Ảnh đại diện
Ảnh đại diện
2
thg 3 22
5779
Odoo pdf report format issue(Solved) Đã xử lý
pdf print Odoo13.0 web.base.url report.url
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 10 25
26271
Error message: You are not allowed to access 'System Parameter' (ir.config_parameter) records
userpermissions accessrights systemparameters usergroups v15
Ảnh đại diện
Ảnh đại diện
2
thg 3 23
6114
Send email notification to sales person when customer responds or reacts to sale.order
email notifications enterprise systemparameters v15
Ảnh đại diện
0
thg 2 23
3669
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