Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Microsoft365 Sync works both ways for 1 account but only 1 way for another - Odoo14

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
calendaroutlooksynchronizationazure
1 Balas
3721 Tampilan
Avatar
Guillaume Dufrene

Hello everybody,


I've set up the native configuration of Odoo14 about Microsoft365 calendar sync.

It works... with my account. With my colleague's account, it works in one way only.


I explain:

When I create an event in the outlook client. I dont see it in Odoo.

When I create an event in Odoo. I see it in the outlook client. AND I have an error exception on Odoo side.


Thanks for your help.


The error details:

Odoo Server Error

 

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch

    result = self._call_function(**self.params)

 File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call

    result = self.endpoint(*a, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in __call__

    return self.method(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 531, in response_wrap

    response = f(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/controllers/main.py", line 44, in sync_data

    need_refresh = request.env.user.sudo()._sync_microsoft_calendar(MicrosoftCal)

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/models/res_users.py", line 81, in _sync_microsoft_calendar

    synced_events, synced_recurrences = self.env['calendar.event']._sync_microsoft2odoo(events, default_reminders=default_reminders) if events else (self.env['calendar.event'], self.env['calendar.recurrence'])

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/models/microsoft_sync.py", line 254, in _sync_microsoft2odoo

    odoo_values = [

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/models/microsoft_sync.py", line 255, in <listcomp>

    dict(self._microsoft_to_odoo_values(e, default_reminders, default_values), need_sync_m=False)

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/models/calendar.py", line 73, in _microsoft_to_odoo_values

    commands_attendee, commands_partner = self._odoo_attendee_commands_m(microsoft_event)

  File "/usr/lib/python3/dist-packages/odoo/addons/microsoft_calendar/models/calendar.py", line 150, in _odoo_attendee_commands_m

    partner = self.env['res.partner'].find_or_create(email)

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/res_partner.py", line 53, in find_or_create

    raise ValueError(_('An email is required for find_or_create to work'))

Exception

 

The above exception was the direct cause of the following exception:

 

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception

    raise exception.with_traceback(None) from new_cause

ValueError: An email is required for find_or_create to work

0
Avatar
Buang
Ermin Trevisan

Your error message is self-explanatory. Please check the setup of your email address.

Egon Raamat

It is not self-explanatory:

1) i have email for user

2) i have email for related partner of user

3) i have email for employee of related user

i still get the same error.

Avatar
Barnie Post
Jawaban Terbai

Same Issue here. Using Odoo14 on a ubuntu server.

For some users the 2 way sync is working:

Odoo to 365 calendar is almost instant (5 seconds and it shows up in 365 user calendar)
365 to Odoo updates only once every hower that the token refreshes.

I setup an new enviroment, but the same issue comes back:
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/res_partner.py", line 54, in find_or_create
raise ValueError(_('An email is required for find_or_create to work'))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: An email is required for find_or_create to work

The error pops up for the user that hat the issue before. Other users working again with 2way sync.

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Synchronization calendar openerp 7.0 with email software
calendar outlook synchronization
Avatar
Avatar
1
Mar 15
8157
Outlook calendar synchronisation sending invitations for declined events
calendar outlook synchronization events
Avatar
0
Okt 24
1588
Inconsistencias de sincronización Outlook - Odoo
calendar outlook
Avatar
Avatar
1
Sep 25
754
Token generation issue on outlook calendar sync
calendar outlook
Avatar
Avatar
Avatar
2
Sep 25
3254
V14- Outlook calendar synchr with Odoo
outlook synchronization
Avatar
0
Apr 23
2432
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik 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