Jairo Llopis
1522eb9ebe
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
Malin Kienke
28614cdf03
Added translation using Weblate (German)
6 years ago
OCA Transbot
525f53b76b
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
4c01309bfc
Update privacy_consent.pot
6 years ago
Jairo Llopis
6f4bf1fed4
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
Cristina Martin
6866fd9fcd
privacy_consent: set partner lang on mail template
6 years ago
Jairo Llopis
8cbfcd5da4
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
1aadcce99a
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
Alexandre Fayolle
dab89b9131
Added translation using Weblate (French)
6 years ago
Pedro Castro Silva
b3a4803095
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
e9a30c29fb
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
e6c79ca2be
Added translation using Weblate (Portuguese)
6 years ago
OCA Git Bot
364e3bb5eb
README.rst
6 years ago
OCA Git Bot
fa7ed63b2f
README.rst
6 years ago
oca-travis
9dad9bb827
Update privacy_consent.pot
6 years ago
Jairo Llopis
85274cd1ca
privacy_consent: Privacy explicit consent tracking tools ( #11 )
6 years ago
Sergio Zanchetta
16aa4ac82b
Translated using Weblate (Italian)
Currently translated at 100.0% (28 of 28 strings)
Translation: data-protection-12.0/data-protection-12.0-privacy_partner_report
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy_partner_report/it/
6 years ago
Sergio Zanchetta
8ae8a8aced
Translated using Weblate (Italian)
Currently translated at 53.6% (15 of 28 strings)
Translation: data-protection-12.0/data-protection-12.0-privacy_partner_report
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy_partner_report/it/
6 years ago
Sergio Zanchetta
b1c1aa4ed3
Translated using Weblate (Italian)
Currently translated at 100.0% (57 of 57 strings)
Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/it/
6 years ago
Sergio Zanchetta
5005189205
Added translation using Weblate (Italian)
6 years ago
oca-travis
2bd6f5167f
[UPD] Update privacy_partner_report.pot
6 years ago
OCA-git-bot
316ceb532e
[ADD] setup.py
6 years ago
OCA-git-bot
1a22f55307
[UPD] README.rst
6 years ago
Pedro M. Baeza
be2d621fde
Merge pull request #28 from initOS/12.0-mig-privacy_partner_report
[12.0] [MIG] privacy_partner_report
6 years ago
kmatthes
1fad80bbc7
[MIG] privacy_partner_report: Migration to 12.0
6 years ago
oca-travis
6ead0bbc31
[UPD] Update privacy_partner_report.pot
6 years ago
aheficent
182ee18330
[FIX]Do not pass the data to the report. Do not encode values.
6 years ago
hveficent
c07a40bc0a
fix encode error
6 years ago
Jordi Ballester Alomar
b05cdefab4
[imp] allow to navigate to the individual records, so that the
data processor can optionally delete them.
6 years ago
mreficent
ba00dae443
[MIG] privacy_partner_report: Migration to 11.0
6 years ago
oca-travis
713c986372
[UPD] Update privacy_partner_report.pot
6 years ago
mreficent
6b82e19173
[MIG] privacy_partner_report: Migration to 10.0
6 years ago
mreficent
b46c8ec7c0
[ADD] privacy_partner_report
7 years ago
dw3gn3r
54c2ae8b9e
Added translation using Weblate (German)
6 years ago
Sergio Zanchetta
5228065b19
Translated using Weblate (Italian)
Currently translated at 96.5% (55 of 57 strings)
Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/it/
6 years ago
Sergio Zanchetta
f2b2befbef
Added translation using Weblate (Italian)
6 years ago
OCA Transbot
54aae371a6
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/
6 years ago
Marta Vázquez Rodríguez
b4dcc94231
Translated using Weblate (Spanish)
Currently translated at 100.0% (36 of 36 strings)
Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/es/
6 years ago
oca-travis
c905ffa49c
[UPD] Update privacy.pot
6 years ago
OCA-git-bot
55711bed5c
[ADD] setup.py
6 years ago
OCA-git-bot
10d97658c1
[UPD] README.rst
6 years ago
Pedro M. Baeza
f31a09de18
Merge pull request #21 from njeudy/12.0-mig-privacy
[12.0][MIG] migration module privacy
6 years ago
Nicolas JEUDY
4debe1c99d
[MIG] privacy: Migration to 12.0
6 years ago
Alexandre Fayolle
c827e531ea
Added translation using Weblate (French)
6 years ago
oca-travis
d60d4145c8
[UPD] Update privacy.pot
6 years ago
OCA-git-bot
c9088ac3b7
[UPD] README.rst
6 years ago
Pedro Castro Silva
459ee00aa6
Added translation using Weblate (Portuguese)
6 years ago
Jairo Llopis
605a14a141
[ADD] privacy_consent: Privacy explicit consent tracking tools ( #11 )
6 years ago
oca-travis
028f01ea9d
[UPD] Update privacy.pot
6 years ago
mreficent
4f1911e3ea
[FIX] Admin should be data_protetion_manager by default
7 years ago