Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Trying to install Gmail script provided by Odoo

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
gmailGoogleGmail
5 Antworten
6755 Ansichten
Avatar
Pavel Sodomka

Receiving Add-ons owned by users outside of your organization may not be installed


\https://script.google.com/home/projects/1n7cxtaR4fGXKcP0RwinNQmL8S4FhVqpo-ZZ_cUAhYuuDpZAP_CnHE_7q/edit

Any one succeeded ?


Pavel

1
Avatar
Verwerfen
Pavel Sodomka
Autor

Talking of course about Google Workspace account. not private gmail...

Ray Carnes (ray)

Did you discuss this with your Admin? Is it security based? https://support.google.com/a/answer/4530135?hl=en

Pavel Sodomka
Autor

Dear Ray, I am the admin. And it has nothing to do with admin rights. The URL you have posted is for Docs add-ons and not Gmail add-ons. The issue with Gmail addon is, that you must be the owner of the script in order to be able to install it....You can do copy, run, install but this is little bit not very mass user friendly. Is there anything blocking to publish it in Google Marketplace regular and standard way ?

Avatar
Ray Carnes (ray)
Beste Antwort

UPDATE:

Please find the Addin via the Google Marketplace at https://workspace.google.com/marketplace/app/odoo_inbox_addin/873497133275


ORIGINAL POST:

Instructions for installing the Gmail Plugin are at https://www.odoo.com/documentation/15.0/applications/productivity/mail_plugins/gmail.html

Please contact Support via https://www.odoo.com/help if you have questions or feedback about the process.

It appears there have been technical challenges (what worked initially when we tested no longer works) during the release process.  A full review by Google is needed  before it can be published, and given our time frame for releasing it, this is what we have available at this time (until that review is complete - which will take a while due to us needing to implement the plugin in ways that Google states will prolong review time).


3
Avatar
Verwerfen
Robbie

Thanks Ray. Do you have updated/expanded directions for what to do until Google approves the app?

If we can copy the scrip directly in it would be helpful to have some guidance on how to do that. I haven't messed with google scrips.

Pavel Sodomka
Autor

I am excited to have a gmail plugin. This was the main pain point with Odoo. Does the plugin work with Odoo 14 or can it be easily backported ? Would love to use immediately and not wait long 6 months till working migration scripts :))

Pavel Sodomka
Autor

Dear Ray, does it really take Google 2 months to review ? I have some friends at Google I could ask them for help if it drags for 2 months. Thanks Pavel

Ray Carnes (ray)

Please contact Odoo Support if you have problems installing the addon. I just connected today and did not have to make a copy of the script. I followed the directions as published (I did have to refresh Gmail to see the Odoo logo in the side panel).

Pavel Sodomka
Autor

I am talking about regular Google Marketplace installation...The add-on is ready since April. I doubt it takes Google so long...

Ray Carnes (ray)

Google has now (July 10th, 2022) accepted the Add-In - it took over a year - find it at https://workspace.google.com/marketplace/app/odoo_inbox_addin/873497133275

Pavel Sodomka
Autor

I had an open ticket for it and pushed each month. It took Odoo one year to submit it not Google to process it. Plus there are couple of critical features illogically missing from the plugin making it hardly usable for sales. I have an open ticket for that as well..if you can help it would be nice...

Pavel Sodomka
Autor

Maybe you should also tell your product management and documentation guys...https://www.odoo.com/documentation/15.0/applications/productivity/mail_plugins/gmail.html

Pavel Sodomka
Autor

Any progress please with SO support? It is ridiculous that the most obvious object is not supported....

Cliff Kujala

Has anyone been able to follow the instructions published to make the Google Plugin work for On-Premise Databases? I followed the instructions very carefully but the resulting main.js file has syntax errors no matter if I upload thru the Google Apps Script GUI or via clasp.

https://www.odoo.com/documentation/17.0/applications/general/integrations/mail_plugins/gmail.html#odoo-on-premise-users

Cliff Kujala

I was able to get this to build correctly. I did make some changes to the instructions.

1. Instead of deleting the 3 lines that limit websites to only subdomains of odoo.com on the /src/views/login.ts file, I modified those lines to match my companies domain name.
2. I also believe I had a problem with how rollup was handling @rollup/plugin-typescript. I previously installed that with `npm install --save-dev @rollup/plugin-typescript` but this time I installed it with `npm install --global @rollup/plugin-typescript`
3. Before I performed `npx rollup -c` I also created a Script Property on my Apps Script Project for ODOO_SHARED_SECRET as mentioned on the iap_instructions.md file. Not sure if that had anything to do with it though to be honest.

In any case, the build files uploaded via clasp now without any syntax errors.

Avatar
Pavel Sodomka
Autor Beste Antwort

Just duplicate the script.
You will become owner.
Than you need to run the script once.
See \https://drive.google.com/file/d/1ASgrZuyhjyoUHA4dK28Tql8xWi2CC-Ps/view?usp=sharing
Than you proceed with Odoo instructions, you have to give it rights and you will get some errors but the script gets installed.

2
Avatar
Verwerfen
Avatar
JB
Beste Antwort

Copy the script & Rename to the Original Filename without "Copy of"
Then it worked. 


1
Avatar
Verwerfen
Avatar
Fabio Tielen
Beste Antwort

Anybody who has a "working" copy from the Gmail addon? 
The link from documentation goes to a list of scripts but it's impossible to run or install. If I switch to legacy editor, then Google returns an error and says the old legacy editor is deprecated and shutsdown september coming. 

I don't see any quick button to download a copy so I can restore it in a new script. 

Secondary question: does the addon actually work for on-premise setups? When I installed the "official" Gmail plugin addon from Odoo that has been approved by Google, I can not connect with my own database. Only subdomains of .....odoo.com are supported.
So even for Enterprise customers who are onpremise this addon is still "locked down"?!? What a stupid move... 

0
Avatar
Verwerfen
Luc Nailis (lna)

Hello there,

Thanks for the feedback.

The link Ray provided above should now work on all Gmail accounts as long as they are linked to a database that looks like *.odoo.com.
If not, please let us know by creating a support ticket and we'll have a look.

That is indeed very unfortunate for on premise databases but is due to a limitation imposed by Google for valid security reasons (avoid malicious redirections).
See: https://developers.google.com/apps-script/manifest/allowlist-url
Basically we need to give a list of allowed URLs and prove that we own those before we can use them inside actions, meaning it is not possible for us to handle www.mycompany.com

Which is why in this case, we advise creating a copy of the script and deploying it internally from the manifest. From there, you would be able to easily modify this constraint and to get it running smoothly (Google is far less restrictive if you run an addin inside your own organization as it is if you want to publish it on the store).

Hope it helps.

Fabio Tielen

@Luc

Thanks for your feedback.
I can totally understand from that point. from *.odoo.com it's easy for you to control the "source" to allow the addon to validate.

But it would be better if your documentation clearly mention this because:
A. Nowhere in the docs in any place it says the addon "out of the box" is compatible only with *.odoo.com databases (odoo.sh / odoo online)

B. the current script for self-installing does no longer work. The publish features are gone as Google is deprecating the current editor and changing to the new editor has no publishing options at all.

C. there is no simple way for us to clone/duplicate this script from that link.
If would be better if this addon was also published in perhaps a github repo and update the documentation clearly that self-hosted/on-premise setups require creating a standalone version from the script and referring to the github repo where we can clone the script.

Thanks for your understanding.

Luc Nailis (lna)

I can totally understand from that point. from *.odoo.com it's easy for you to control the "source" to allow the addon to validate.
=> Actually it's worst than that, we *have to* provide an allowlist and we *have to* own the domain of those URLs or Google would just refuse our addin as this is part of their security guidelines. So we really had no choice and there was no other way if we wanted to provide an easy install to at least some of our users.

But you are right, we're working on a doc update to explain all that because it cannot be guessed.

As for the repo that is indeed the plan, we already have one and will provide a link there so that one can easily clone it, remove the constraints and deploy it internally.

In the meantime, I'll check what I can do on the script side to at least unblock that.

I'll keep you updated :)

Robbie

Luc & Ray - It seems like the issue here is the entire email architecture. It takes 5 minutes to set up email with hubstpot, vtiger, copper, ERPNext, etc. because emails are sent from the email provder itself. Y'all can't do this because you want to send out emails with those special headers so you can link it back to a specific business object. The email service providers like this, and many have trouble differentiating between that and spam. However, those headers aren't necessary if you sync everything based on what's open. So if you get an email from a customer who has an open opportunity, it'll automatically sync to the opportunity. With the very nice systems (hubspot, copper) you can optionally remove the email from the business object if you don't want it to sync.

If y'all set up your email architecture like your competitors, you can use email like a normal email. There are multiple businesses who I've recommended odoo to that decided against it specifically because of your email architecture and the limits it imposes. Odoo shouldn't be sending emails, your email service provider is should.

I know "rewrite your email architecture" is a rather large request...but is this something that's on your timeline for the future? I love Odoo and it's helped our business tremendously but the decision to link everything based on headers from the business object introduces massive limitations that makes your email system work much worse than other players in the market. Y'all are doing a ton of innovative things, but in this situation, just copying your competitor's setup would dramatically improve your product.

Luc Nailis (lna)

@robbie

Hi there,
Thanks for the feedback, that is indeed some valuable insights.

These are multiple different "dimensions" so I can't really give a definitive answer but let me try to comment that a bit based on our roadmap & intentions.

- Setting up email in Odoo is tricky
=> Indeed, we do have room for improvements there and we'd like to make it more "plug&play". However, both Outlook & Gmail changed their OAuth processes so our recent priority was to make sure it would keep working on all versions. As a side note, this means that now sending an email using an address they provide is not easy as it used to considering they do multiple extra checks to ensure the content is legit (you can't just use username/pw anymore).

- Thread structure
=> I believe this is a strong added-value so I doubt it would change "per se". That being said, that is what most competitors do too. On top of that (and we do not do that for now), they usually generate unique aliases (lead123456@mycompany.com) and put it in cc, which is why the crm record ends up being sync'd. Not really sure how we could handle it differently and not convinced by a "magical" sync considering you could have multiple different ongoing conversations with the same customer, for example.

-Anything planned regarding the mail framework
=> Yes indeed, we've been working on multiple improvements, some of which will already be available from v16, others a little later. I'll be happy to discuss that further during the Odoo Experience if you are there online or remotely :)

Hope it helps you see a bit more clearly into our plans.

Avatar
Robbie
Beste Antwort

I'm having the same issue here. I'm the admin on the google account and it's not letting me do this either. Has anyone figured out a workaround?

0
Avatar
Verwerfen
Pavel Sodomka
Autor

The workaround is to copy the script so you become owner and than to run it at least once...Than you can install it into your Google Workspace...very user friendly and professional from Odoo...

Virali

@Pavel Sodomka, Where can we able to find script? to duplicate?

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Using Google Workspace for Non-Profits
gmail
Avatar
Avatar
1
Apr. 24
3247
Gmail integration error
gmail
Avatar
Avatar
1
Jan. 24
2563
Outgoing mail server GMAIL Gelöst
gmail
Avatar
Avatar
Avatar
2
Sept. 22
18633
Emails sent from Odoo appear empty in Gmail
gmail emailing
Avatar
0
Sept. 24
1768
Setting up Gmail outgoing server Gelöst
outgoingmailserver Gmail
Avatar
Avatar
2
Aug. 24
3926
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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