Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

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

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
calendaroutlooksynchronizationazure
1 Răspunde
3701 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
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.

Imagine profil
Barnie Post
Cel mai bun răspuns

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
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Synchronization calendar openerp 7.0 with email software
calendar outlook synchronization
Imagine profil
Imagine profil
1
mar. 15
8139
Outlook calendar synchronisation sending invitations for declined events
calendar outlook synchronization events
Imagine profil
0
oct. 24
1573
Inconsistencias de sincronización Outlook - Odoo
calendar outlook
Imagine profil
Imagine profil
1
sept. 25
739
Token generation issue on outlook calendar sync
calendar outlook
Imagine profil
Imagine profil
Imagine profil
2
sept. 25
3216
V14- Outlook calendar synchr with Odoo
outlook synchronization
Imagine profil
0
apr. 23
2399
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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