Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Trying to install Gmail script provided by Odoo

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
gmailGoogleGmail
5 Respostas
6757 Visualizações
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
Cancelar
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)
Melhor resposta

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
Cancelar
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 Melhor resposta

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
Cancelar
Avatar
JB
Melhor resposta

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


1
Avatar
Cancelar
Avatar
Fabio Tielen
Melhor resposta

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
Cancelar
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
Melhor resposta

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
Cancelar
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?

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Using Google Workspace for Non-Profits
gmail
Avatar
Avatar
1
abr. 24
3247
Gmail integration error
gmail
Avatar
Avatar
1
jan. 24
2563
Outgoing mail server GMAIL Resolvido
gmail
Avatar
Avatar
Avatar
2
set. 22
18633
Emails sent from Odoo appear empty in Gmail
gmail emailing
Avatar
0
set. 24
1769
Setting up Gmail outgoing server Resolvido
outgoingmailserver Gmail
Avatar
Avatar
2
ago. 24
3929
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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