跳至内容
菜单
此问题已终结
5 回复
6172 查看

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

形象
丢弃
编写者

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

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

编写者

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 ?

最佳答案

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).


形象
丢弃

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.

编写者

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 :))

编写者

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

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).

编写者

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

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

编写者

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...

编写者

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

编写者

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

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

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.

编写者 最佳答案

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.

形象
丢弃
最佳答案

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


形象
丢弃
最佳答案

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... 

形象
丢弃

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.

@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.

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 :)

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.

@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.

最佳答案

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?

形象
丢弃
编写者

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...

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

相关帖文 回复 查看 活动
1
4月 24
2435
1
1月 24
1882
2
9月 22
17958
0
9月 24
1166
2
8月 24
2446