Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
385 commits
Select commit Hold shift + click to select a range
3debfcc
[8.0][ADD] mail_tracking addon (#67)
antespi Jun 14, 2016
4593e7b
[8.0][IMP][mail_tracking] Speed installation time and discard concurr…
antespi Sep 9, 2016
400fb9f
[FIX] Update email_score when email changes
antespi Sep 9, 2016
17062d0
[MIG] mail_tracking
antespi Sep 9, 2016
7387687
[FIX] mail_tracking: Typo
pedrobaeza Sep 29, 2016
535d359
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
ea8162a
[MIG] mail_tracking: Migrated to 10.0
bouvyd Oct 14, 2016
a037466
[IMP] mail_tracking performance and bounce process (#103)
antespi Oct 14, 2016
adc4377
[IMP] mail_tracking: Allow to define a custom mail_tracking base url
antespi Oct 14, 2016
8cdc40c
Add access to portal/public user to his own email trackings
antespi Oct 24, 2016
4331731
[8.0][FIX][mail_tracking] Use event recipient address to find partner…
antespi Nov 25, 2016
9c6931a
[9.0][FIX][mail_tracking] Control exception when mail_message was rem…
antespi Nov 22, 2016
0f76bff
[FIX] Sender label is repeated in search fields
antespi Nov 2, 2016
9a26e85
[FIX][9.0] partner buttons view on enterprise
jjscarafia Dec 14, 2016
0336057
[FIX] mail_tracking: Obtain outgoing server with sudo
pedrobaeza Feb 10, 2017
5d9f78c
[IMP] Shut mock exceptions up
chienandalu Jul 14, 2017
7dcd0cd
[9.0][IMP] mail_tracking: Improve view with error details
carlosdauden Feb 8, 2017
199ff9a
[FIX] mail_tracking: bugfixes (#199)
antespi Oct 10, 2017
49df271
IMP mail_tracking performances
eLBati Feb 21, 2018
5373ed8
[FIX] mail_tracking js could break other modules using chat_manager
ecino Apr 13, 2018
ddf91c4
[MIG] mail_tracking: Migration to 11.0
chienandalu Mar 19, 2018
9b7cf49
Translated using Weblate (French) [ci skip]
didierdonze Jun 18, 2018
f8faa3d
[IMP] mail_tracking: email score performance (#299)
chienandalu Sep 6, 2018
1217451
Fix README.rst images not visible in GitHub and Odoo
bitroniq Sep 18, 2018
4ba4279
[IMP] mail_tracking: Put button box at the end of the view
pedrobaeza Sep 24, 2018
fca833e
Translated using Weblate (Catalan)
eduardgm Oct 10, 2018
db43cb6
[MIG] mail_tracking: Migration to 12.0
ernestotejeda Nov 5, 2018
13e4b38
[FIX] mail_tracking: Don't call write inside other write
pedrobaeza Jun 26, 2019
1971e33
[IMP] mail_tracking: Cc
Tardo Jul 3, 2019
364cb48
[MIG] mail_tracking: Adapt Cc to 12.0
Tardo Jul 3, 2019
9f2db12
[FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} duri…
EgorSummer Jul 22, 2019
a85bf6c
[FIX] mail_tracking: Repeated suggested cc emails
Tardo Jul 22, 2019
6b8ebed
[IMP] mail_tracking: Adapt test to set (not order preserved)
Tardo Jul 22, 2019
3bbf6c4
[FIX] mail_tracking: Show correctly blank image
pedrobaeza Jul 24, 2019
8133758
Translated using Weblate (Spanish)
eduardgm Aug 4, 2019
933fbb6
[IMP] mail_tracking: mail.thread filter for tracking errors
chienandalu Jul 5, 2019
dbf3520
[IMP] mail_tracking: Cc name & check if mail is Cc
Tardo Jul 23, 2019
c873c8a
[IMP] mail_tracking: Convert 'partner_trackings' to dict
Tardo Aug 12, 2019
4585ed3
[IMP] mail_tracking: translations
Tardo Aug 12, 2019
0bbd569
[IMP] mail_tracking: Failed Messages to 12.0
Tardo Oct 17, 2019
875ced7
[FIX] mail_tracking: Refresh thread widget when sets a message as rev…
Tardo Nov 14, 2019
7ac5185
[IMP] mail_tracking: black, isort
Tardo Nov 18, 2019
b430839
[MIG] mail_tracking: Migration to 13.0
Tardo Nov 18, 2019
1e419d5
[FIX] mail_tracking: Changed injection method for 'failed_message_ids…
Tardo Nov 28, 2019
85bfbde
[FIX] mail_tracking: do not warn not found if already opened
ruuter Mar 30, 2020
6952f2d
[IMP] mail_tracking: Store To recipients and omit aliases
Tardo Mar 19, 2020
a59364c
[IMP] mail_tracking: Test 'to' and named emails
Tardo Mar 26, 2020
7fd87f8
[IMP] mail_tracking: Ignore catchall
Tardo Apr 16, 2020
11d39f2
[FIX] re.search will return None when nothing found. So we have to ch…
wpichler Oct 23, 2020
ef8eeae
[FIX] mail_tracking
nmadhoc Jan 21, 2021
5348fc0
[IMP] Apply pre-commit changes: Resolve conflicts
Tardo Jan 26, 2021
31be236
[IMP] mail_tracking: Discuss failed messages: Button and domain + Onl…
Tardo Oct 2, 2020
d4ac18a
[FIX] mail_tracking: Store cc
Tardo Mar 1, 2021
bd4c9cf
[IMP] mail_tracking: black, isort, prettier
AreebSiddiqiIR May 3, 2021
fd5cc2f
[MIG] mail_tracking: Migration to 14.0
AreebSiddiqiIR May 3, 2021
9f1c683
[14.0][MIG] mail_tracking
SimoneVagile Jun 25, 2021
8a7bd7f
[FIX] mail_tracking: Modification in unitest.
angelJuaGar Jun 29, 2021
4d59e48
[FIX] mail_tracking: reduce spammy score
Jul 9, 2021
9b08724
[FIX] mail_tracking: Added restriction on email search.
angelJuaGar Aug 13, 2021
8562813
[FIX] Change operator to 'ilike'
JorgeQuinteros Sep 22, 2021
572c1ba
[PORT] porting js code to comply with OWL
houssine78 Oct 27, 2021
7942a82
[FIX] mail_tracking: use recipient_address to search emails
fernandahf Nov 24, 2021
332f34a
[FIX] mail_tracking: change order of inheritance and use return
fernandahf Jan 12, 2022
a3650bc
[IMP] mail_tracking: black, isort, prettier
JasminSForgeFlow Mar 24, 2022
f9a7e29
[MIG] mail_tracking: Migration to 15.0
JasminSForgeFlow Mar 25, 2022
e7a867b
[FIX] mail_tracking: mixed classes
chienandalu Jan 30, 2023
6286fd3
[IMP] mail_tracking_mailgun: mass mailing manual tracking
chienandalu Jan 12, 2023
554d549
[FIX] mail_tracking: process sent events
Oct 11, 2021
750452d
[FIX] mail_tracking: error when filtering by "Sent"
sugapablo Feb 17, 2022
687db44
[FIX] mail_tracking: permissions
chienandalu Sep 7, 2022
92d50e3
[IMP] mail_tracking: remove legacy hooks
Jul 27, 2022
626f8dd
[FIX] mail_tracking: js linter warnings
chienandalu Jan 31, 2023
5990bb2
use keyword arguments in build_email to comply with portal tests
jonasbuchholz Feb 9, 2023
62f95d8
[FIX] mail_tracking: Crash to add malformed emails to recipients sugg…
sergio-teruel Feb 23, 2023
5d4fd2c
[UPD] Update mail_tracking.pot
Mar 23, 2023
5237bd2
Fix mail tracking bounce notification not logged
TDu May 3, 2023
653a755
[FIX] mail_tracking: thread permissions
chienandalu May 9, 2023
113f0a9
[FIX] mail_tracking: allowed trackings compute
chienandalu May 22, 2023
fa6202b
[IMP] mail_tracking: New config parameter to disable the tracking image
dhx May 29, 2023
49d0c64
[FIX] mail_tracking: failed messages in thread
chienandalu Aug 9, 2023
89cf0ea
[MIG] mail_tracking: Migration to 16.0
filoquin Mar 2, 2023
18c00df
[MIG] mail_tracking: Completed migration to 16.0
payen000 Sep 4, 2023
ce1cbd1
[FIX] mail_tracking: validated mailbox when computing isInFailedDiscuss
payen000 Oct 16, 2023
b327df1
[16.0][FIX] mail_tracking debug mode error
NiChrDeuse Dec 15, 2023
fba22c8
[IMP] mail_tracking: Give example that actually works in readme
hbrunn Mar 18, 2024
bd9a06d
[FIX] mail_tracking: be closer to what Odoo does in a nodb environment
hbrunn Mar 18, 2024
5cedb64
[IMP] mail_tracking: pre-commit auto fixes
pedrobaeza Jun 11, 2024
ae16f92
[MIG] mail_tracking: Migration to 17.0
chienandalu May 14, 2024
91f9c6f
[IMP] Add option to keep aliases in mail tracking
cvinh Jul 26, 2022
a7998d3
mail_tracking: add garbage collection
henrybackman Aug 14, 2024
989d80e
[FW] port missing commits from 14.0 to 17.0
trisdoan Oct 3, 2024
35bfeac
[IMP] mail_tracking: pre-commit auto fixes
trisdoan Oct 3, 2024
ed2359a
[MIG] mail_tracking: Migration to 18.0
trisdoan Sep 27, 2024
3753140
[FIX] mail_tracking: python warning deprecated utcfromtimestamp
augusto-weiss May 21, 2025
b940927
[FIX] mail_tracking: Apply read restrictions to everyone not being su…
grindtildeath Jun 30, 2025
ee44e29
[FIX] mail_tracking: missing onUpdate prop
ivantodorovich Sep 4, 2025
e9b134c
[IMP] mail_tracking: remove dead `failure_count` code
ivantodorovich Sep 8, 2025
d823f54
[IMP] mail_tracking: create all mail.tracking.email at once
ivantodorovich Sep 8, 2025
8ee0a57
[IMP] mail_tracking: remove dead mail.tracking.email.event_process me…
ivantodorovich Sep 8, 2025
a50df4c
[IMP] mail_tracking: use env-aware gettext self.env._ everywhere
ivantodorovich Sep 8, 2025
bbda6a4
[IMP] mail_tracking: remove redundant ui FailedMessagePanel
ivantodorovich Sep 8, 2025
cdcd19b
[FIX] mail_tracking: ACL verification
remi-filament Oct 22, 2025
844e1cc
[FIX] mail_tracking: Prevent error when the SQL result is empty.
carlos-lopez-tecnativa Nov 25, 2025
b0a07bd
[FIX] mail_tracking: Error on tabs without thread open when marking a…
CarlosRoca13 Dec 23, 2025
2ba4afb
[IMP] mail_tracking: pre-commit auto fixes
quoc-pn Feb 3, 2026
b62d2f4
[MIG] mail_tracking: Migration to 19.0
quoc-pn Feb 3, 2026
2660d10
[UPD] Update mail_tracking.pot
Jun 25, 2026
951c0fa
[BOT] post-merge updates
OCA-git-bot Jun 25, 2026
ec311aa
[FIX] mail_tracking: Do not hide exception if not managed
ypapouin Jun 18, 2026
f5eef98
[BOT] post-merge updates
OCA-git-bot Jun 26, 2026
1f475b2
[FIX] mail_tracking: make message route test compatible with overrides
pilarvargas-tecnativa Jun 29, 2026
9b063b5
[BOT] post-merge updates
OCA-git-bot Jun 29, 2026
771fe2f
[FIX] mail_tracking: complete message route test payload
pilarvargas-tecnativa Jun 29, 2026
04a38cf
[BOT] post-merge updates
OCA-git-bot Jun 29, 2026
4a8d352
[FIX] mail_tracking: isolate alias domain test from installed modules
pilarvargas-tecnativa Jun 29, 2026
8d89023
[BOT] post-merge updates
OCA-git-bot Jun 30, 2026
1d8749f
[12.0][ADD]mail_attach_existing_attachment_account
tbaden Apr 24, 2019
d1acf28
[IMP] mail_attach_existing_attachment_account: black, isort, prettier
victoralmau Nov 11, 2021
2239cb7
[MIG] mail_attach_existing_attachment_account: Migration to 13.0
Rad0van Aug 28, 2020
ffee2d3
[IMP] mail_attach_existing_attachment_account: black, isort, prettier
victoralmau Nov 11, 2021
aa3352f
[MIG] mail_attach_existing_attachment_account: Migration to 14.0
Nov 10, 2021
e9e4410
[FIX] mail_attach_existing_attachment_account: Resilient tests on mul…
pedrobaeza Mar 16, 2022
bdc0521
[MIG] mail_attach_existing_attachment_account from 14.0
sbidoul Nov 22, 2024
2727dd0
[IMP] mail_attach_existing_attachment_account: pre-commit stuff
sbidoul Nov 22, 2024
487ffdf
[DOC] mail_attach_existing_attachment_account: improve description
sbidoul Nov 22, 2024
1a99d12
[IMP] mail_attach_existing_attachment_account: align with base module
sbidoul Nov 23, 2024
230a895
Added translation using Weblate (Italian)
mymage Dec 18, 2024
4eb531f
[IMP] mail_attach_existing_attachment_account: pre-commit auto fixes
damdam-s Jan 16, 2025
59c017f
[MIG] mail_attach_existing_attachment_account: Migration to 17.0
damdam-s Jan 16, 2025
c607575
[IMP] mail_attach_existing_attachment_account: pre-commit auto fixes
ByteMeAsap Jul 8, 2025
959c694
[MIG] mail_attach_existing_attachment_account: Migration to 18.0
ByteMeAsap Jul 8, 2025
3152085
[MIG] mail_attach_existing_attachment_account: Migration to 19.0
chienandalu Jun 17, 2026
8ccd834
[UPD] Update mail_activity_team.pot
Jul 2, 2026
42c6f4e
[UPD] Update mail_attach_existing_attachment_account.pot
Jul 2, 2026
b672618
[UPD] Update mail_message_search.pot
Jul 2, 2026
f0cb79c
[UPD] Update mail_restrict_follower_selection.pot
Jul 2, 2026
309df02
[UPD] Update mail_tracking.pot
Jul 2, 2026
f911301
[BOT] post-merge updates
OCA-git-bot Jul 2, 2026
f6c81fb
Update translation files
weblate Jul 2, 2026
c703fee
Update translation files
weblate Jul 2, 2026
6db24dd
Update translation files
weblate Jul 2, 2026
0bf8b80
Update translation files
weblate Jul 2, 2026
2b3cad1
Translated using Weblate (Italian)
mymage Jul 7, 2026
c4f275b
Translated using Weblate (Italian)
mymage Jul 7, 2026
10e52cd
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
75667fb
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
46b5627
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
3b47ab9
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
774c72f
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
a3bf54e
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
549228a
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
7114f01
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
d9278da
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
553c1a3
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
fa8078b
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
c6028f0
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
2b3e9fc
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
c0c7451
Added translation using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
ef441f8
Translated using Weblate (Slovenian)
sysadminmatmoz Jul 14, 2026
d7712c8
mail_tracking_mass_mailing (#78)
antespi Aug 16, 2016
4a6be9b
mail_tracking_mass_mailing module
cubells Jan 3, 2017
27f4ea8
[10.0] mail_tracking_mass_mailing: Migration to 10.0
chienandalu Jun 22, 2017
9ffa804
[FIX] mail_tracking_mass_mailing: Integration tests (#258)
yajo Apr 18, 2018
146a3a7
[MIG] mail_tracking_mass_mailing: Migration to 11.0
pedrobaeza Aug 9, 2018
9118eda
[MIG] mail_tracking_mass_mailing: Migration to 12.0
ernestotejeda Nov 5, 2018
06d1f70
[IMP] mail_tracking_mass_mailing: black, isort, prettier
zaoral Jun 9, 2020
e18eefe
[MIG] mail_tracking_mass_mailing: Migration to 13.0
zaoral Jun 9, 2020
b78f36c
[IMP] pre-commit run -a
Jan 26, 2021
13fd10c
[MIG] mail_tracking_mass_mailing: Migration to v14.0
CarlosRoca13 Jul 22, 2021
62603e9
mail_tracking_mass_mailing: Set traces in error according to tracking
grindtildeath May 10, 2022
ffb97e5
[MIG] mail_tracking_mass_mailing: Migration to v15.0
sergio-teruel Dec 8, 2022
7ded40a
[MIG] mail_tracking_mass_mailing: Migration to 16.0
Mar 9, 2023
50fc58b
[MIG] mail_tracking_mass_mailing: finish migration to 16.0
chienandalu Oct 31, 2023
4fe58fa
[IMP] mail_tracking_mass_mailing: pre-commit auto fixes
chienandalu Jul 5, 2024
87e6d88
[MIG] mail_tracking_mass_mailing: Migration to 17.0
chienandalu Jul 5, 2024
f6c35bd
[IMP] mail_tracking_mass_mailing: pre-commit auto fixes
trisdoan Nov 5, 2024
36308c3
[MIG] mail_tracking_mass_mailing: Migration to 18.0
trisdoan Nov 5, 2024
91a78eb
[IMP] mail_tracking_mass_mailing: pre-commit auto fixes
quoc-pn Jan 24, 2026
b37fb20
[MIG] mail_tracking_mass_mailing: Migration to 19.0
quoc-pn Jan 24, 2026
2bd668a
[UPD] Update mail_activity_team.pot
Jul 15, 2026
7f03cf5
[UPD] Update mail_message_search.pot
Jul 15, 2026
4e205f2
[UPD] Update mail_restrict_follower_selection.pot
Jul 15, 2026
62719f9
[UPD] Update mail_tracking.pot
Jul 15, 2026
2928a2c
[UPD] Update mail_tracking_mass_mailing.pot
Jul 15, 2026
c695786
[BOT] post-merge updates
OCA-git-bot Jul 15, 2026
9980c0e
Update translation files
weblate Jul 15, 2026
329410e
Update translation files
weblate Jul 15, 2026
81bb7bb
Update translation files
weblate Jul 15, 2026
47877cc
Update translation files
weblate Jul 15, 2026
85e7c61
OCA Transbot updated translations from Transifex
antespi Sep 19, 2016
f8f3dbe
[ADD] mail_tracking_mailgun
antespi Jul 15, 2016
4df5e50
[8.0][IMP][mail_tracking] Speed installation time and discard concurr…
antespi Sep 9, 2016
17f3ffd
[MIG] mail_tracking_mailgun
antespi Sep 13, 2016
5ec1b09
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
3f92506
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
7b1599b
[MIG] mail_tracking_mailgun: Migrated to 10.0
bouvyd Oct 14, 2016
7a4f86e
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
b6f5b14
Add Contributors
rafaelbn Mar 14, 2017
0734928
OCA Transbot updated translations from Transifex
oca-transbot May 20, 2017
1605dc1
[IMP] mute logger on tests error responses so Travis doesn't fail
chienandalu Jul 14, 2017
74b65f6
OCA Transbot updated translations from Transifex
oca-transbot Jul 22, 2017
d459630
[10.0][IMP] mail_tracking_mailgun: add partner mail checks
chienandalu Oct 17, 2017
b1351cf
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
d780ae3
[10.0][FIX] mail_tracking_mailgun: Avoid key dict errors
chienandalu Dec 22, 2017
de8952e
[FIX] mail_tracking_mailgun: Avoid errors without event
yajo Jan 15, 2018
a2d7482
OCA Transbot updated translations from Transifex
oca-transbot Jan 16, 2018
b9783e3
[FIX] mail_tracking_mailgun: Message error on bounce
pedrobaeza Feb 1, 2018
3fcf5c0
[FIX] mail_tracking_mailgun: manual sync gets events from other recip…
chienandalu Feb 15, 2018
5b6e586
[IMP] mail_tracking_mailgun: validation auto check
chienandalu Feb 16, 2018
56ad244
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
106a259
[MIG] mail_tracking_mailgun: Migration to 11.0
chienandalu May 8, 2018
4393853
[11.0][FIX] mail_tracking_mailgun: Read config parameters with sudo
sergio-teruel May 30, 2018
50a5a3c
Translated using Weblate (French)
didierdonze Jun 18, 2018
aeba170
[FIX] mail_tracking_mailgun: alternative domain
chienandalu Aug 2, 2018
7a110ba
[MIG] mail_tracking_mailgun: Migration to 12.0
ernestotejeda Nov 5, 2018
3062dd3
[IMP] mail_tracking_mailgun: link to bounce event
chienandalu Sep 5, 2019
fbc1dd1
Translated using Weblate (Portuguese)
pedrocs-exo Mar 2, 2020
51019af
[ADD] mail_tracking_mailgun: manage failed state from mailgun
zaoral Aug 26, 2019
3ce2c34
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 30, 2020
58d5e7e
[IMP] mail_tracking_mailgun: black, isort
HviorForgeFlow Apr 2, 2020
64f2d0b
[MIG] mail_tracking_mailgun: Migration to 13.0
HviorForgeFlow Apr 2, 2020
fdf0ee1
[FIX] import mock the python3 way
hbrunn Jul 29, 2020
69c0397
[IMP] pre-commit run -a
Jan 26, 2021
4f7c2b6
[IMP] Apply pre-commit changes: Resolve conflicts
Tardo Jan 26, 2021
39fdbb7
[MIG] mail_tracking_mailgun: Migration to v14.0
CarlosRoca13 Jul 22, 2021
3b0b64c
[IMP] mail_tracking_mailgun: refactor to support modern webhooks
Oct 28, 2021
ab60f37
[MIG] mail_tracking_mailgun: Migration to 15.0
nicomacr May 17, 2022
ae0014b
[IMP] mail_tracking_mailgun: mass mailing manual tracking
chienandalu Jan 12, 2023
8edc0b5
[FIX] mail_tracking_mailgun: bounces error
chienandalu Jul 26, 2023
8cdac19
Translated using Weblate (Spanish)
Ivorra78 Oct 19, 2023
9610f7e
[MIG] mail_tracking_mailgun: Migration to 16.0
alan196 Feb 20, 2023
9af839a
[FIX/IMP] mail_tracking_mailgun: finish migration
chienandalu Oct 31, 2023
2aec9ca
Translated using Weblate (Italian)
mymage Dec 11, 2023
f3bf393
Translated using Weblate (French)
vincent-hatakeyama Feb 23, 2024
75ec084
[FIX] mail_tracking_mailgun: discard non Odoo events
chienandalu Jul 11, 2024
c882103
[IMP] mail_tracking_mailgun: black, isort, prettier
chienandalu Jul 5, 2024
459a673
[MIG] mail_tracking_mailgun: Migration to 17.0
chienandalu Jul 5, 2024
16eb40d
[FIX] mail_tracking_mailgun: Markup link
pedrobaeza Apr 17, 2025
6121973
[IMP] mail_tracking_mailgun: pre-commit stuff
pedrobaeza Jun 29, 2025
0db63a3
[MIG] mail_tracking_mailgun: Migration to 18.0
pedrobaeza Jun 29, 2025
389bec7
[UPD] Update mail_tracking_mailgun.pot
Jun 30, 2025
c728426
[BOT] post-merge updates
OCA-git-bot Jun 30, 2025
c406eaa
[IMP] mail_tracking_mailgun: pre-commit auto fixes
JasminSForgeFlow Feb 26, 2026
77a289d
[MIG] mail_tracking_mailgun: Migration to 19.0
JasminSForgeFlow Feb 26, 2026
2408c0d
[UPD] Update mail_tracking_mailgun.pot
Jul 21, 2026
5f8816a
[BOT] post-merge updates
OCA-git-bot Jul 21, 2026
6749f77
[FIX] mail_tracking_mailgun: Remove DeprecationWarning warning
victoralmau Jul 22, 2026
2bda418
[BOT] post-merge updates
OCA-git-bot Jul 22, 2026
1823132
Merge branch '19.0' into 19.0-mig-mail_gateway
DucTruongKomit Jul 31, 2026
cf4ea59
[19.0][MIG] mail_gateway: Migration to 19.0
DucTruongKomit Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 122 additions & 0 deletions mail_gateway/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

============
Mail Gateway
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cb4024a4b6e00026f5449ed8a293301f1d8b4935a36aad11139631d03e419c3d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github
:target: https://github.com/OCA/mail/tree/19.0/mail_gateway
:alt: OCA/mail
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/mail-19-0/mail-19-0-mail_gateway
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module will allow you to integrate an external chat system in your
Odoo system. It requires extra modules with the specific configuration
of each chat system, like mail_gateway_telegram or
mail_gateway_whatsapp.

This way, a group of users can respond customers or any other set of
partners within Odoo, but the messages will be sent through the external
chat system.

**Table of contents**

.. contents::
:local:

Usage
=====

When external messages are received, they will be directly sent to the
discuss menu. Answering to these messages will send the answer to the
external contact. We can assign this messages to any record using the
message actions. Also, we can assign the sender to a partner using the
followers menu and selecting the partner.

On a standard record associated to a partner with external chat, we can
send messages to the external contact directly selecting the methods of
the partner. To use this, we just need to use the

It is recomended to enable chatter notification to all users that will
receive messages from gateways.

Known issues / Roadmap
======================

1. Make possible to schedule gateway messages.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/mail/issues/new?body=module:%20mail_gateway%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Creu Blanca
* Dixmit

Contributors
------------

- Enric Tobella

- Olga Marco

- `Tecnativa <https://tecnativa.com>`__

- Carlos Roca
- Eduardo Ezerouali

Other credits
-------------

This work has been funded by AEOdoo (Asociación Española de Odoo -
https://www.aeodoo.org)

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/19.0/mail_gateway>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions mail_gateway/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from . import controllers
from . import models
from . import tools

from .hooks import pre_init_hook
from . import wizards
33 changes: 33 additions & 0 deletions mail_gateway/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2024 Dixmit
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Mail Gateway",
"summary": "Base module for gateway communications",
"version": "19.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca,Dixmit,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/mail",
"depends": ["mail"],
"pre_init_hook": "pre_init_hook",
"data": [
"wizards/mail_compose_gateway_message.xml",
"wizards/mail_message_gateway_link.xml",
"wizards/mail_message_gateway_send.xml",
"wizards/mail_guest_manage.xml",
"security/security.xml",
"security/ir.model.access.csv",
"views/mail_gateway.xml",
"views/res_partner_gateway_channel.xml",
"views/mail_guest_views.xml",
"views/res_users_settings_views.xml",
"views/mail_notification_views.xml",
],
"assets": {
"web.assets_backend": [
"mail_gateway/static/src/components/**/*",
"mail_gateway/static/src/core/**/*",
"mail_gateway/static/src/models/**/*",
],
},
}
1 change: 1 addition & 0 deletions mail_gateway/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import gateway
88 changes: 88 additions & 0 deletions mail_gateway/controllers/gateway.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Copyright 2024 Dixmit
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

import json
import logging

from odoo.http import Controller, request, route

from odoo.addons.mail.tools.discuss import add_guest_to_context

_logger = logging.getLogger(__name__)


class GatewayController(Controller):
@route(
"/gateway/<string:usage>/<string:token>/update",
type="http",
auth="public",
methods=["GET", "POST"],
csrf=False,
)
@add_guest_to_context
def post_update(self, usage, token, *args, **kwargs):
if request.httprequest.method == "GET":
bot_data = request.env["mail.gateway"]._get_gateway(
token, gateway_type=usage, state="pending"
)
if not bot_data:
return request.make_response(
json.dumps({}),
[
("Content-Type", "application/json"),
],
)
return (
request.env[f"mail.gateway.{usage}"]
.with_user(bot_data["webhook_user_id"])
.with_company(bot_data["company_id"])
._receive_get_update(bot_data, request, **kwargs)
)
bot_data = request.env["mail.gateway"]._get_gateway(
token, gateway_type=usage, state="integrated"
)
if not bot_data:
_logger.warning(
"Gateway was not found for token %s with usage %s", token, usage
)
return request.make_response(
json.dumps({}),
[
("Content-Type", "application/json"),
],
)
charset = (
hasattr(request.httprequest, "charset")
and request.httprequest.charset
or "utf-8"
)
jsonrequest = json.loads(request.httprequest.get_data().decode(charset))
dispatcher = (
request.env[f"mail.gateway.{usage}"]
.with_user(bot_data["webhook_user_id"])
.with_context(no_gateway_notification=True)
)
if not dispatcher._verify_update(bot_data, jsonrequest):
_logger.warning(
"Message could not be verified for token %s with usage %s", token, usage
)
return request.make_response(
json.dumps({}),
[
("Content-Type", "application/json"),
],
)
_logger.debug(
"Received message for token %s with usage %s: %s",
token,
usage,
json.dumps(jsonrequest),
)
gateway = dispatcher.env["mail.gateway"].browse(bot_data["id"])
dispatcher._receive_update(gateway, jsonrequest)
return request.make_response(
json.dumps({}),
[
("Content-Type", "application/json"),
],
)
12 changes: 12 additions & 0 deletions mail_gateway/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
def pre_init_hook(env):
"""
The objective of this hook is to speed up the installation
of the module on an existing Odoo instance.

Without this script, big databases can take a long time to install this
module.
"""
env.cr.execute(
"""ALTER TABLE mail_message
ADD COLUMN IF NOT EXISTS gateway_channel_id int"""
)
Loading
Loading