Commit Graph

454 Commits

Author SHA1 Message Date
Fernanda Hernández
1f3d4579de [FIX] mail_tracking: change order of inheritance and use return
Currently when a invoice view is reload in browser or through native
redirections, an error is raised:

```
Traceback:
TypeError: Cannot read properties of undefined (reading 'id')
at Function.convertData [as _super] (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:5768:118)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6651:335)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:7779:403)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:7818:353)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at Function.convertData (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:12197:435)
at Function.Class. (https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:6478:107)
at https://t50084-053-islamicrelief140.dev.irc.deployv.com/web/content/1819726-9a8777a/web.assets_backend.js:5790:359
```

That is because an inheritance wrong, which breaks the flow of start of model
`messaging` and causes that messages execute before the init of var `messaging`.
2022-04-20 14:46:22 +05:30
OCA Transbot
ce7b4209dd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2022-04-20 14:46:22 +05:30
OCA-git-bot
9dc2f8e569 mail_tracking 14.0.2.0.1 2022-04-20 14:46:22 +05:30
oca-travis
aca7276781 [UPD] Update mail_tracking.pot 2022-04-20 14:46:22 +05:30
Fernanda Hernández
71fb071154 [FIX] mail_tracking: use recipient_address to search emails
This commits is using the field recipient_address in filter of search view
of mail.tracking.email in order to use the same field used in computed
method:

147eda96a5/mail_tracking/models/res_partner.py (L27)
2022-04-20 14:46:22 +05:30
OCA Transbot
146323186a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2022-04-20 14:46:22 +05:30
OCA-git-bot
6c34951e0f mail_tracking 14.0.2.0.0 2022-04-20 14:46:22 +05:30
OCA-git-bot
88dbebe55d [UPD] README.rst 2022-04-20 14:46:22 +05:30
oca-travis
1237644f79 [UPD] Update mail_tracking.pot 2022-04-20 14:46:22 +05:30
houssine
53cc2ff96f [PEP8] pre-commit 2022-04-20 14:46:22 +05:30
OCA Transbot
aba9ad7561 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2022-04-20 14:46:22 +05:30
oca-travis
fe723fd777 [UPD] Update mail_tracking.pot 2022-04-20 14:46:22 +05:30
houssine
d45941df4d [PORT] porting js code to comply with OWL 2022-04-20 14:46:22 +05:30
OCA Transbot
881c70f7dd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2022-04-20 14:46:22 +05:30
oca-travis
792eff8803 [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
OCA Transbot
5d015cdbb5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_tracking/
2022-04-20 14:46:21 +05:30
oca-travis
546fd54c55 [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
OCA-git-bot
cee0115fc7 mail_tracking 14.0.1.1.1 2022-04-20 14:46:21 +05:30
Jorge Luis Quinteros
03f26753ee [FIX] Change operator to 'ilike' 2022-04-20 14:46:21 +05:30
OCA-git-bot
6f24099a07 mail_tracking 14.0.1.1.0 2022-04-20 14:46:21 +05:30
angelJuaGar
f2adbca256 [FIX] mail_tracking: Added restriction on email search.
A filter_domain was added in the sender and recipient fields to be able to handle a more specific filter when using mail tracking.
2022-04-20 14:46:21 +05:30
Jairo Llopis
814329c55a [FIX] mail_tracking: reduce spammy score
Fix https://github.com/OCA/social/issues/701, following idea from https://kb.mailwizz.com/articles/low-score-in-spamassassin-because-of-the-rand_mktg_header-rule/ to avoid matching the regexp explained in https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7888#c5

@Tecnativa TT29674
2022-04-20 14:46:21 +05:30
OCA-git-bot
365e8a3c71 [UPD] README.rst 2022-04-20 14:46:21 +05:30
oca-travis
561dca29d7 [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
angelJuaGar
49a26ca11b [FIX] mail_tracking: Modification in unitest. 2022-04-20 14:46:21 +05:30
simonev
7f964d9386 [14.0][MIG] mail_tracking 2022-04-20 14:46:21 +05:30
Areeb Siddiqi
d963b817e4 [MIG] mail_tracking: Migration to 14.0 2022-04-20 14:46:21 +05:30
Areeb Siddiqi
c721351a9c [IMP] mail_tracking: black, isort, prettier 2022-04-20 14:46:21 +05:30
OCA-git-bot
5b5a0f04f2 mail_tracking 13.0.1.0.8 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
bb633d22c5 [FIX] mail_tracking: Store cc 2022-04-20 14:46:21 +05:30
OCA Transbot
b8f28055eb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2022-04-20 14:46:21 +05:30
OCA-git-bot
9258469db1 mail_tracking 13.0.1.0.7 2022-04-20 14:46:21 +05:30
oca-travis
ff0e815e73 [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
ced062db12 [IMP] mail_tracking: Discuss failed messages: Only show confirmation if needed 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
6b55471fc3 [IMP] mail_tracking: Discuss failed messages: Button and domain 2022-04-20 14:46:21 +05:30
Jairo Llopis
2724284aaa [FIX] pre-commit run -a 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
55f9271937 [IMP] Apply pre-commit changes: Resolve conflicts 2022-04-20 14:46:21 +05:30
Jairo Llopis
c64663944b [IMP] pre-commit run -a 2022-04-20 14:46:21 +05:30
OCA-git-bot
29afd15f6d mail_tracking 13.0.1.0.6 2022-04-20 14:46:21 +05:30
nmadhoc
a8631c588f [FIX] mail_tracking
When a user try to resend message gets an error stating that it's only allowed for users who belong to the Administration/Settings group
2022-04-20 14:46:21 +05:30
Wolfgang Pichler
26c6cd33af [FIX] re.search will return None when nothing found. So we have to check for this 2022-04-20 14:46:21 +05:30
OCA Transbot
399e4fad0c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2022-04-20 14:46:21 +05:30
oca-travis
3687e1cf6a [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
OCA Transbot
c9c941617d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2022-04-20 14:46:21 +05:30
OCA Transbot
cbc12a71d9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2022-04-20 14:46:21 +05:30
OCA-git-bot
70445bd103 mail_tracking 13.0.1.0.4 2022-04-20 14:46:21 +05:30
oca-travis
f8433982df [UPD] Update mail_tracking.pot 2022-04-20 14:46:21 +05:30
Alexandre Díaz
7e271bb5ca [IMP] mail_tracking: Ignore catchall 2022-04-20 14:46:21 +05:30
OCA Transbot
9449f77510 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2022-04-20 14:46:21 +05:30
OCA-git-bot
e03c6f5259 mail_tracking 13.0.1.0.3 2022-04-20 14:46:21 +05:30