跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

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

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

Trying to install Gmail script provided by Odoo

訂閱

此帖文有活動時,接收通知

此問題已被標幟
gmailGoogleGmail
5 回覆
6762 瀏覽次數
頭像
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
頭像
捨棄
Pavel Sodomka
作者

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
作者

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 ?

頭像
Ray Carnes (ray)
最佳答案

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
頭像
捨棄
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
作者

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
作者

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
作者

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
作者

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
作者

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
作者

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.

頭像
Pavel Sodomka
作者 最佳答案

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
頭像
捨棄
頭像
JB
最佳答案

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


1
頭像
捨棄
頭像
Fabio Tielen
最佳答案

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
頭像
捨棄
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.

頭像
Robbie
最佳答案

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
頭像
捨棄
Pavel Sodomka
作者

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?

喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
Using Google Workspace for Non-Profits
gmail
頭像
頭像
1
4月 24
3248
Gmail integration error
gmail
頭像
頭像
1
1月 24
2563
Outgoing mail server GMAIL 已解決
gmail
頭像
頭像
頭像
2
9月 22
18633
Emails sent from Odoo appear empty in Gmail
gmail emailing
頭像
0
9月 24
1770
Setting up Gmail outgoing server 已解決
outgoingmailserver Gmail
頭像
頭像
2
8月 24
3931
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة 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 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

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