Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
calendaroutlooksynchronizationazure
1 Respondre
3712 Vistes
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
Descartar
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
Best Answer

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
Synchronization calendar openerp 7.0 with email software
calendar outlook synchronization
Avatar
Avatar
1
de març 15
8147
Outlook calendar synchronisation sending invitations for declined events
calendar outlook synchronization events
Avatar
0
d’oct. 24
1579
Inconsistencias de sincronización Outlook - Odoo
calendar outlook
Avatar
Avatar
1
de set. 25
745
Token generation issue on outlook calendar sync
calendar outlook
Avatar
Avatar
Avatar
2
de set. 25
3226
V14- Outlook calendar synchr with Odoo
outlook synchronization
Avatar
0
d’abr. 23
2409
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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