Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Trying to install Gmail script provided by Odoo

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
gmailGoogleGmail
5 Trả lời
6767 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
Pavel Sodomka
Tác giả

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
Tác giả

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 ?

Ảnh đại diện
Ray Carnes (ray)
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
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
Tác giả

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
Tác giả

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
Tác giả

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
Tác giả

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
Tác giả

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
Tác giả

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.

Ảnh đại diện
Pavel Sodomka
Tác giả Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
JB
Câu trả lời hay nhất

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


1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Fabio Tielen
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
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.

Ảnh đại diện
Robbie
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Pavel Sodomka
Tác giả

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?

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Using Google Workspace for Non-Profits
gmail
Ảnh đại diện
Ảnh đại diện
1
thg 4 24
3249
Gmail integration error
gmail
Ảnh đại diện
Ảnh đại diện
1
thg 1 24
2564
Outgoing mail server GMAIL Đã xử lý
gmail
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 9 22
18633
Emails sent from Odoo appear empty in Gmail
gmail emailing
Ảnh đại diện
0
thg 9 24
1771
Setting up Gmail outgoing server Đã xử lý
outgoingmailserver Gmail
Ảnh đại diện
Ảnh đại diện
2
thg 8 24
3942
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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