Skip to content

Commit 92cf547

Browse files
committed
[BOT] post-merge updates
1 parent bb72679 commit 92cf547

4 files changed

Lines changed: 46 additions & 19 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ addon | version | maintainers | summary
2323
--- | --- | --- | ---
2424
[data_encryption](data_encryption/) | 16.0.1.0.1 | | Store accounts and credentials encrypted by environment
2525
[mail_environment](mail_environment/) | 16.0.1.0.2 | | Configure mail servers with server_environment_files
26-
[mail_environment_google_gmail](mail_environment_google_gmail/) | 16.0.1.0.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Configure Gmail mail servers with server_environment_files
26+
[mail_environment_google_gmail](mail_environment_google_gmail/) | 16.0.1.1.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Configure Gmail mail servers with server_environment_files
2727
[pos_environment](pos_environment/) | 16.0.1.0.1 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Custom messages on the bill depending on the environment
2828
[server_environment](server_environment/) | 16.0.1.1.2 | | move some configurations out of the database
2929
[server_environment_data_encryption](server_environment_data_encryption/) | 16.0.1.0.0 | | Server Environment Data Encryption

mail_environment_google_gmail/README.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
===========================================================
26
Mail configuration with server_environment for Google Gmail
37
===========================================================
@@ -7,13 +11,13 @@ Mail configuration with server_environment for Google Gmail
711
!! This file is generated by oca-gen-addon-readme !!
812
!! changes will be overwritten. !!
913
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:1afdf6a75ab850d6e8e117f7ddfd2834abba154c008f377cd2e00a0a2a96a133
14+
!! source digest: sha256:55658f8bb3f58ca5d9dc048c833a475931decfa1f0a1aafd45f9ca99a49b084b
1115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1216
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github
@@ -28,7 +32,7 @@ Mail configuration with server_environment for Google Gmail
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
3034

31-
This module allows to configure Gmail outgoing servers with server-env.
35+
This module allows to configure Gmail Authentication for email servers with server-env.
3236

3337
**Table of contents**
3438

@@ -49,10 +53,18 @@ Example of config file ::
4953
smtp_port = 587
5054
smtp_user = example@gmail.com
5155
smtp_encryption = starttls
52-
use_google_gmail_service = True
56+
smtp_authentication = gmail
5357
google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
5458
google_gmail_refresh_token = YOUR_REFRESH_TOKEN
5559

60+
[incoming_mail.gmail_imap_server]
61+
server_type = gmail
62+
smtp_host = imap.gmail.com
63+
smtp_port = 993
64+
user = example@gmail.com
65+
is_ssl = 1
66+
google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
67+
google_gmail_refresh_token = YOUR_REFRESH_TOKEN
5668

5769

5870
These two are global parameters, in core they're configured in General Settings:

mail_environment_google_gmail/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"name": "Mail configuration with server_environment for Google Gmail",
77
"summary": "Configure Gmail mail servers with server_environment_files",
8-
"version": "16.0.1.0.0",
8+
"version": "16.0.1.1.0",
99
"author": "Camptocamp, Odoo Community Association (OCA)",
1010
"maintainers": ["ivantodorovich"],
1111
"website": "https://github.com/OCA/server-env",

mail_environment_google_gmail/static/description/index.html

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Mail configuration with server_environment for Google Gmail</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,17 +360,22 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="mail-configuration-with-server-environment-for-google-gmail">
364-
<h1 class="title">Mail configuration with server_environment for Google Gmail</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="mail-configuration-with-server-environment-for-google-gmail">
370+
<h1>Mail configuration with server_environment for Google Gmail</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:1afdf6a75ab850d6e8e117f7ddfd2834abba154c008f377cd2e00a0a2a96a133
375+
!! source digest: sha256:55658f8bb3f58ca5d9dc048c833a475931decfa1f0a1aafd45f9ca99a49b084b
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-env/tree/16.0/mail_environment_google_gmail"><img alt="OCA/server-env" src="https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-mail_environment_google_gmail"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-env&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373-
<p>This module allows to configure Gmail outgoing servers with server-env.</p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-env/tree/16.0/mail_environment_google_gmail"><img alt="OCA/server-env" src="https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-mail_environment_google_gmail"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-env&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378+
<p>This module allows to configure Gmail Authentication for email servers with server-env.</p>
374379
<p><strong>Table of contents</strong></p>
375380
<div class="contents local topic" id="contents">
376381
<ul class="simple">
@@ -385,7 +390,7 @@ <h1 class="title">Mail configuration with server_environment for Google Gmail</h
385390
</ul>
386391
</div>
387392
<div class="section" id="configuration">
388-
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
393+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
389394
<p>Example of config file</p>
390395
<pre class="literal-block">
391396
[ir.config_parameter]
@@ -397,7 +402,16 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
397402
smtp_port = 587
398403
smtp_user = example&#64;gmail.com
399404
smtp_encryption = starttls
400-
use_google_gmail_service = True
405+
smtp_authentication = gmail
406+
google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
407+
google_gmail_refresh_token = YOUR_REFRESH_TOKEN
408+
409+
[incoming_mail.gmail_imap_server]
410+
server_type = gmail
411+
smtp_host = imap.gmail.com
412+
smtp_port = 993
413+
user = example&#64;gmail.com
414+
is_ssl = 1
401415
google_gmail_authorization_code = YOUR_ACCOUNT_AUTH_CODE
402416
google_gmail_refresh_token = YOUR_REFRESH_TOKEN
403417
</pre>
@@ -415,23 +429,23 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
415429
</ul>
416430
</div>
417431
<div class="section" id="bug-tracker">
418-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
432+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
419433
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-env/issues">GitHub Issues</a>.
420434
In case of trouble, please check there if your issue has already been reported.
421435
If you spotted it first, help us to smash it by providing a detailed and welcomed
422436
<a class="reference external" href="https://github.com/OCA/server-env/issues/new?body=module:%20mail_environment_google_gmail%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
423437
<p>Do not contact contributors directly about support or help with technical issues.</p>
424438
</div>
425439
<div class="section" id="credits">
426-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
440+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
427441
<div class="section" id="authors">
428-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
442+
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
429443
<ul class="simple">
430444
<li>Camptocamp</li>
431445
</ul>
432446
</div>
433447
<div class="section" id="contributors">
434-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
448+
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
435449
<ul>
436450
<li><p class="first"><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a></p>
437451
<blockquote>
@@ -443,7 +457,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
443457
</ul>
444458
</div>
445459
<div class="section" id="maintainers">
446-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
460+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
447461
<p>This module is maintained by the OCA.</p>
448462
<a class="reference external image-reference" href="https://odoo-community.org">
449463
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -458,5 +472,6 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
458472
</div>
459473
</div>
460474
</div>
475+
</div>
461476
</body>
462477
</html>

0 commit comments

Comments
 (0)