Pedro M. Baeza
030d5f6906
Merge pull request #29 from Tecnativa/10.0-privacy_consent-avoid_race_sending_emails
[FIX] privacy_consent: Avoid race condition when sending emails
6 years ago
Jairo Llopis
069185e83a
[FIX] privacy_consent: Avoid race condition when sending emails
It could happen that, while Odoo is still sending emails, a subject receives it and clicks on accept/reject links.
In such case, he'd get a 404 error because the record wouldn't exist yet in the database. That's because the DB commit was made only after processing all the sent emails.
We need to commit in advance to make sure that doesn't happen.
6 years ago
dw3gn3r
873bd09a1d
Added translation using Weblate (German)
6 years ago
dw3gn3r
79e39a6e40
Translated using Weblate (German)
Currently translated at 74.3% (26 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/de/
6 years ago
dw3gn3r
1e32f83da2
Translated using Weblate (German)
Currently translated at 25.7% (9 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/de/
6 years ago
dw3gn3r
821e9f4eff
Translated using Weblate (German)
Currently translated at 8.6% (3 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/de/
6 years ago
Malin Kienke
58597e2594
Translated using Weblate (German)
Currently translated at 2.9% (1 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/de/
6 years ago
Malin Kienke
9c523facef
Added translation using Weblate (German)
6 years ago
Malin Kienke
8ad98f15f5
Added translation using Weblate (German)
6 years ago
OCA Transbot
8258d0c0ac
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: data-protection-10.0/data-protection-10.0-privacy_consent
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy_consent/
6 years ago
oca-travis
5fd62ea2bb
[UPD] Update privacy_consent.pot
6 years ago
Pedro M. Baeza
43f1c4f2cb
Merge pull request #26 from Tecnativa/10.0-privacy_consent-fix_race_with_mail_queue
[FIX] privacy_consent: Avoid race condition with mail queue cron
6 years ago
Jairo Llopis
09efb813a3
[FIX] privacy_consent: Avoid race condition with mail queue cron
Before this patch, all privacy consent emails were forced to be sent under a context with `mark_consent_sent=True` to track the state change and trigger the attached server action.
When using the automatic mode, if a separate cron job started running the mail queue, it could happen that mails were being sent from that another worker, losing the context key and, as such, being sent without token and without being marked as sent nor executing the attached server action (if any).
To avoid this problem, now the context dependency is removed. After all, the `mail.mail` object is only created when sending in `mass_mail` model, so other kind of notifications or messages are not affected. When a mail of type `mass_mail` is sent, we can assume that it is asking for consent and we can move draft consent requests to sent.
6 years ago
João Carvalhido
8b33305851
Translated using Weblate (Portuguese)
Currently translated at 100.0% (26 of 26 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy_partner_report
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy_partner_report/pt/
6 years ago
Pedro M. Baeza
c60a95198a
Merge pull request #25 from Tecnativa/10.0-upd-privacy_consent
[10.0][UPD] privacy_consent: set partner lang on mail template
6 years ago
Cristina Martin
14b614cdc2
[10.0][UPD] privacy_consent: set partner lang on mail template
6 years ago
Pedro M. Baeza
23649f17c8
Merge pull request #20 from Tecnativa/10-privacy_consent-test_at_install
[FIX] privacy_consent: Test at install
6 years ago
Jairo Llopis
1eb21c6d29
[FIX] privacy_consent: Test at install
The purpose of this `@post_install` no longer exists, and by removing these decorators, we avoid test failures in case some custom addon customizes the welcome message.
6 years ago
alvarorib
0bb3037102
Translated using Weblate (Portuguese)
Currently translated at 100.0% (74 of 74 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy_consent
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy_consent/pt/
6 years ago
alvarorib
3dbc87568d
Translated using Weblate (Portuguese)
Currently translated at 100.0% (35 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/pt/
6 years ago
alvarorib
f73f9992f4
Added translation using Weblate (Portuguese)
6 years ago
Alexandre Fayolle
e0f0febecf
Added translation using Weblate (French)
6 years ago
Alexandre Fayolle
74ab269ef8
Added translation using Weblate (French)
6 years ago
Alexandre Fayolle
a364cf8779
Added translation using Weblate (French)
6 years ago
OCA Transbot
31b68323e7
Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
6 years ago
oca-travis
2af1c4340b
[UPD] Update privacy_partner_report.pot
6 years ago
OCA-git-bot
9f78ff381b
[ADD] setup.py
6 years ago
OCA-git-bot
7394c18c98
[UPD] addons table in README.md [ci skip]
6 years ago
Pedro M. Baeza
341e915007
Merge pull request #12 from Eficent/10.0-mig-partner-report
[10.0][MIG] privacy_partner_report
6 years ago
Pedro Castro Silva
7c52985c11
Translated using Weblate (Portuguese)
Currently translated at 98.6% (73 of 74 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy_consent
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy_consent/pt/
6 years ago
Pedro Castro Silva
d9f6fe7372
Translated using Weblate (Portuguese)
Currently translated at 97.1% (34 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/pt/
6 years ago
Pedro Castro Silva
276e6de3b7
Translated using Weblate (Portuguese)
Currently translated at 100,0% (74 of 74 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy_consent
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy_consent/pt/
6 years ago
Pedro Castro Silva
e0f272a3e3
Translated using Weblate (Portuguese)
Currently translated at 100,0% (35 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/pt/
6 years ago
Pedro Castro Silva
a2f4fcc315
Translated using Weblate (Portuguese)
Currently translated at 14,3% (5 of 35 strings)
Translation: data-protection-10.0/data-protection-10.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-10-0/data-protection-10-0-privacy/pt/
6 years ago
Pedro Castro Silva
25ff979051
Added translation using Weblate (Portuguese)
6 years ago
Pedro Castro Silva
918b7958f6
Added translation using Weblate (Portuguese)
6 years ago
OCA Git Bot
24c6218b49
[UPD] README.rst
6 years ago
OCA Git Bot
1659ecb9c8
[ADD] setup.py
6 years ago
OCA Git Bot
a9fb365886
[UPD] README.rst
6 years ago
OCA Git Bot
b3e73edfe3
[UPD] addons table in README.md [ci skip]
6 years ago
oca-travis
af01aa9cb0
[UPD] Update privacy_consent.pot
6 years ago
oca-travis
c8091a5070
[UPD] Update privacy.pot
6 years ago
Pedro M. Baeza
18910b879d
[FIX] README.md: Change version
6 years ago
Jairo Llopis
522953438d
[ADD] privacy_consent: Privacy explicit consent tracking tools ( #11 )
6 years ago
mreficent
a0457dfccf
[MIG] privacy_partner_report: Migration to 10.0
6 years ago
mreficent
11db044a51
[FIX] Admin should be data_protetion_manager by default
7 years ago
mreficent
5ff3c421f3
[ADD] privacy_partner_report
7 years ago
oca-travis
ce6e54bc76
[UPD] Update privacy.pot
7 years ago
OCA Git Bot
63b9c06237
[ADD] setup.py
7 years ago
OCA Git Bot
1641bc35aa
[UPD] README.rst
7 years ago