Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Overcoming Google Calendar Windows Server OAuth URI redirect fixed

By
cnewman
on 1/31/16, 1:12 PM 591 views

Version: Odoo 9.0

Flavor: Windows Server 2012 R2

I fixed the OAuth issue by enabling debug mode and editing:

debug>parameters>system parameters>web.base.url - to my subdomain 'odoo.mydomainimusing.com' -

Great no more URI redirect issues complaining about actual IP from a URI redirect!, Awesome...

New Issue:

Constraint Error: Google ID should be unique! when Syncing with Google Calendar

Dorking brought me to this thread:

https://www.odoo.com/forum/help-1/question/constraint-error-google-id-should-be-unique-when-syncing-with-google-calendar-88958

This thread suggests editing python, from this GitHub branch:

https://github.com/odoo/odoo/commit/a9e3d74713b6882c64617345696ad326d75a4745#commitcomment-12473790

(background above inserted not for ramblings, but to help others get to this point. I found a lot of information on the question above with no solution so there you have it, an answer above.)


Concerns/Questions:

-The above Github branch is for 8.0 and does not match 9.0, will it work?

-I see inside c:\program files (x86)\Odoo 9.0\server\openerp\addons\google_calendar two files:

     -google_calendar.py (thanks for that odoo)

     -google_calendar.pyc

+Can I compile the .py on windows server (I'm noob to coding, ill probably break it) = vm-snapshots.

+Is this issue been addressed elsewhere with an easier fix other than trying to apply to fix in GitHub above?


TIA



0
cnewman
On 1/31/16, 1:28 PM

I think ill grab 9.0 from the nightly and see how it treats me. :/

Update: Nope - Same error. I guess the above was inevitable. I will setup an environment and compile the .py. If it works ill post it somewhere for 9.0.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/31/16, 1:12 PM
Seen: 591 times
Last updated: 1/31/16, 2:28 PM