You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

489 lines
17 KiB

privacy_consent: Separate automated emails send process Before https://github.com/OCA/data-protection/pull/29 there was a race condition where an email could be sent while the same transaction that created the `privacy.consent` record still wasn't committed, producing a 404 error if the user clicked on "Accept" or "Reject" before all mails were sent. To avoid that, a raw `cr.commit()` was issued, but this produced another situation where the user had to wait until the full email queue is cleared to get his page loaded. It wasn't an error, but a long queue meant several minutes waiting, and it's ulikely that an average human is so patient. So, here's the final fix (I hope!). The main problem was that I was looking in the wrong place to send the email. It turns out that the `self.post_message_with_template()` method is absolutely helpless in the case at hand, where these criteria must be met: * E-mail must be enqueued, no matter if there are less or more than 50 consents to send. * The template must be processed per record. * In an ideal world, a `cr.commit()` must be issued after each sent mail. The metod that was being used: * Didn't allow to use `auto_commit` mode. * Only allowed to render the template per record if called with `composition_mode="mass_mail"`. * Only allowed to enqueue emails if called with `composition_mode="mass_post"`. Obviously, I cannot set 2 different values for `composition_mode`, so a different strategy had to be used. I discovered that the `mail.template` model has a helpful method called `send_mail()` that, by default: * Renders the template per record * Enqueues the email * The email queue is cleared in `auto_commit=True` mode. So, from now on, problems are gone: * The user click, or the cron run, will just generate the missing `privacy.consent` records and enqueue mails for them. * The mail queue manager will send them later, in `auto_commit` mode. * After sending the e-mail, this module will set the `privacy.consent` record as `sent`. * Thanks to *not* sending the email, the process the user faces when he hits the "generate" button is faster. * Instructions in the README and text in the "generate" button are updated to reflect this new behavior. * Thanks to the `auto_commit` feature, if Odoo is rebooted in the middle of a mail queue clearance, the records that were sent remain properly marked as sent, and the missing mails will be sent after the next boot. * No hardcoded commits. * No locked transactions. * BTW I discovered that 2 different emails were created when creating a new consent. I started using `mail_create_nolog=True` to avoid that problem and only log a single creation message. Note to self: never use again `post_message_with_template()`.
5 years ago
privacy_consent: Separate automated emails send process Before https://github.com/OCA/data-protection/pull/29 there was a race condition where an email could be sent while the same transaction that created the `privacy.consent` record still wasn't committed, producing a 404 error if the user clicked on "Accept" or "Reject" before all mails were sent. To avoid that, a raw `cr.commit()` was issued, but this produced another situation where the user had to wait until the full email queue is cleared to get his page loaded. It wasn't an error, but a long queue meant several minutes waiting, and it's ulikely that an average human is so patient. So, here's the final fix (I hope!). The main problem was that I was looking in the wrong place to send the email. It turns out that the `self.post_message_with_template()` method is absolutely helpless in the case at hand, where these criteria must be met: * E-mail must be enqueued, no matter if there are less or more than 50 consents to send. * The template must be processed per record. * In an ideal world, a `cr.commit()` must be issued after each sent mail. The metod that was being used: * Didn't allow to use `auto_commit` mode. * Only allowed to render the template per record if called with `composition_mode="mass_mail"`. * Only allowed to enqueue emails if called with `composition_mode="mass_post"`. Obviously, I cannot set 2 different values for `composition_mode`, so a different strategy had to be used. I discovered that the `mail.template` model has a helpful method called `send_mail()` that, by default: * Renders the template per record * Enqueues the email * The email queue is cleared in `auto_commit=True` mode. So, from now on, problems are gone: * The user click, or the cron run, will just generate the missing `privacy.consent` records and enqueue mails for them. * The mail queue manager will send them later, in `auto_commit` mode. * After sending the e-mail, this module will set the `privacy.consent` record as `sent`. * Thanks to *not* sending the email, the process the user faces when he hits the "generate" button is faster. * Instructions in the README and text in the "generate" button are updated to reflect this new behavior. * Thanks to the `auto_commit` feature, if Odoo is rebooted in the middle of a mail queue clearance, the records that were sent remain properly marked as sent, and the missing mails will be sent after the next boot. * No hardcoded commits. * No locked transactions. * BTW I discovered that 2 different emails were created when creating a new consent. I started using `mail_create_nolog=True` to avoid that problem and only log a single creation message. Note to self: never use again `post_message_with_template()`.
5 years ago
privacy_consent: Separate automated emails send process Before https://github.com/OCA/data-protection/pull/29 there was a race condition where an email could be sent while the same transaction that created the `privacy.consent` record still wasn't committed, producing a 404 error if the user clicked on "Accept" or "Reject" before all mails were sent. To avoid that, a raw `cr.commit()` was issued, but this produced another situation where the user had to wait until the full email queue is cleared to get his page loaded. It wasn't an error, but a long queue meant several minutes waiting, and it's ulikely that an average human is so patient. So, here's the final fix (I hope!). The main problem was that I was looking in the wrong place to send the email. It turns out that the `self.post_message_with_template()` method is absolutely helpless in the case at hand, where these criteria must be met: * E-mail must be enqueued, no matter if there are less or more than 50 consents to send. * The template must be processed per record. * In an ideal world, a `cr.commit()` must be issued after each sent mail. The metod that was being used: * Didn't allow to use `auto_commit` mode. * Only allowed to render the template per record if called with `composition_mode="mass_mail"`. * Only allowed to enqueue emails if called with `composition_mode="mass_post"`. Obviously, I cannot set 2 different values for `composition_mode`, so a different strategy had to be used. I discovered that the `mail.template` model has a helpful method called `send_mail()` that, by default: * Renders the template per record * Enqueues the email * The email queue is cleared in `auto_commit=True` mode. So, from now on, problems are gone: * The user click, or the cron run, will just generate the missing `privacy.consent` records and enqueue mails for them. * The mail queue manager will send them later, in `auto_commit` mode. * After sending the e-mail, this module will set the `privacy.consent` record as `sent`. * Thanks to *not* sending the email, the process the user faces when he hits the "generate" button is faster. * Instructions in the README and text in the "generate" button are updated to reflect this new behavior. * Thanks to the `auto_commit` feature, if Odoo is rebooted in the middle of a mail queue clearance, the records that were sent remain properly marked as sent, and the missing mails will be sent after the next boot. * No hardcoded commits. * No locked transactions. * BTW I discovered that 2 different emails were created when creating a new consent. I started using `mail_create_nolog=True` to avoid that problem and only log a single creation message. Note to self: never use again `post_message_with_template()`.
5 years ago
privacy_consent: Separate automated emails send process Before https://github.com/OCA/data-protection/pull/29 there was a race condition where an email could be sent while the same transaction that created the `privacy.consent` record still wasn't committed, producing a 404 error if the user clicked on "Accept" or "Reject" before all mails were sent. To avoid that, a raw `cr.commit()` was issued, but this produced another situation where the user had to wait until the full email queue is cleared to get his page loaded. It wasn't an error, but a long queue meant several minutes waiting, and it's ulikely that an average human is so patient. So, here's the final fix (I hope!). The main problem was that I was looking in the wrong place to send the email. It turns out that the `self.post_message_with_template()` method is absolutely helpless in the case at hand, where these criteria must be met: * E-mail must be enqueued, no matter if there are less or more than 50 consents to send. * The template must be processed per record. * In an ideal world, a `cr.commit()` must be issued after each sent mail. The metod that was being used: * Didn't allow to use `auto_commit` mode. * Only allowed to render the template per record if called with `composition_mode="mass_mail"`. * Only allowed to enqueue emails if called with `composition_mode="mass_post"`. Obviously, I cannot set 2 different values for `composition_mode`, so a different strategy had to be used. I discovered that the `mail.template` model has a helpful method called `send_mail()` that, by default: * Renders the template per record * Enqueues the email * The email queue is cleared in `auto_commit=True` mode. So, from now on, problems are gone: * The user click, or the cron run, will just generate the missing `privacy.consent` records and enqueue mails for them. * The mail queue manager will send them later, in `auto_commit` mode. * After sending the e-mail, this module will set the `privacy.consent` record as `sent`. * Thanks to *not* sending the email, the process the user faces when he hits the "generate" button is faster. * Instructions in the README and text in the "generate" button are updated to reflect this new behavior. * Thanks to the `auto_commit` feature, if Odoo is rebooted in the middle of a mail queue clearance, the records that were sent remain properly marked as sent, and the missing mails will be sent after the next boot. * No hardcoded commits. * No locked transactions. * BTW I discovered that 2 different emails were created when creating a new consent. I started using `mail_create_nolog=True` to avoid that problem and only log a single creation message. Note to self: never use again `post_message_with_template()`.
5 years ago
privacy_consent: Separate automated emails send process Before https://github.com/OCA/data-protection/pull/29 there was a race condition where an email could be sent while the same transaction that created the `privacy.consent` record still wasn't committed, producing a 404 error if the user clicked on "Accept" or "Reject" before all mails were sent. To avoid that, a raw `cr.commit()` was issued, but this produced another situation where the user had to wait until the full email queue is cleared to get his page loaded. It wasn't an error, but a long queue meant several minutes waiting, and it's ulikely that an average human is so patient. So, here's the final fix (I hope!). The main problem was that I was looking in the wrong place to send the email. It turns out that the `self.post_message_with_template()` method is absolutely helpless in the case at hand, where these criteria must be met: * E-mail must be enqueued, no matter if there are less or more than 50 consents to send. * The template must be processed per record. * In an ideal world, a `cr.commit()` must be issued after each sent mail. The metod that was being used: * Didn't allow to use `auto_commit` mode. * Only allowed to render the template per record if called with `composition_mode="mass_mail"`. * Only allowed to enqueue emails if called with `composition_mode="mass_post"`. Obviously, I cannot set 2 different values for `composition_mode`, so a different strategy had to be used. I discovered that the `mail.template` model has a helpful method called `send_mail()` that, by default: * Renders the template per record * Enqueues the email * The email queue is cleared in `auto_commit=True` mode. So, from now on, problems are gone: * The user click, or the cron run, will just generate the missing `privacy.consent` records and enqueue mails for them. * The mail queue manager will send them later, in `auto_commit` mode. * After sending the e-mail, this module will set the `privacy.consent` record as `sent`. * Thanks to *not* sending the email, the process the user faces when he hits the "generate" button is faster. * Instructions in the README and text in the "generate" button are updated to reflect this new behavior. * Thanks to the `auto_commit` feature, if Odoo is rebooted in the middle of a mail queue clearance, the records that were sent remain properly marked as sent, and the missing mails will be sent after the next boot. * No hardcoded commits. * No locked transactions. * BTW I discovered that 2 different emails were created when creating a new consent. I started using `mail_create_nolog=True` to avoid that problem and only log a single creation message. Note to self: never use again `post_message_with_template()`.
5 years ago
  1. # Translation of Odoo Server.
  2. # This file contains the translation of the following modules:
  3. # * privacy_consent
  4. #
  5. msgid ""
  6. msgstr ""
  7. "Project-Id-Version: Odoo Server 10.0\n"
  8. "Report-Msgid-Bugs-To: \n"
  9. "POT-Creation-Date: 2019-05-13 17:04+0000\n"
  10. "PO-Revision-Date: 2019-05-13 17:04+0000\n"
  11. "Last-Translator: <>\n"
  12. "Language-Team: \n"
  13. "MIME-Version: 1.0\n"
  14. "Content-Type: text/plain; charset=UTF-8\n"
  15. "Content-Transfer-Encoding: \n"
  16. "Plural-Forms: \n"
  17. #. module: privacy_consent
  18. #: model:mail.template,body_html:privacy_consent.template_consent
  19. msgid "<?xml version=\"1.0\"?>\n"
  20. "<div style=\"background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;\">\n"
  21. " <table style=\"width:600px;margin:5px auto;\">\n"
  22. " <tbody>\n"
  23. " <tr>\n"
  24. " <td>\n"
  25. " <a href=\"/\">\n"
  26. " <img src=\"/logo\" alt=\"${object.activity_id.controller_id.display_name|safe}\" style=\"vertical-align:baseline;max-width:100px;\"/>\n"
  27. " </a>\n"
  28. " </td>\n"
  29. " </tr>\n"
  30. " </tbody>\n"
  31. " </table>\n"
  32. " <table style=\"width:600px;margin:0px auto;background:white;border:1px solid #e1e1e1;\">\n"
  33. " <tbody>\n"
  34. " <tr>\n"
  35. " <td colspan=\"2\" style=\"padding:15px 20px 0px 20px; font-size:16px;\">\n"
  36. " <p>\n"
  37. " Hello, ${object.partner_id.name|safe}\n"
  38. " </p>\n"
  39. " <p>\n"
  40. " We contacted you to ask you to give us your explicit consent to include your data in a data processing activity called\n"
  41. " <b>${object.activity_id.display_name|safe}</b>, property of\n"
  42. " <i>${object.activity_id.controller_id.display_name|safe}</i>\n"
  43. " </p>\n"
  44. " ${object.description or \"\"}\n"
  45. " <p>\n"
  46. " % if object.state == \"answered\":\n"
  47. " The last time you answered, you\n"
  48. " % elif object.state == \"sent\":\n"
  49. " If you do nothing, we will assume you have\n"
  50. " % endif\n"
  51. "\n"
  52. " % if object.accepted:\n"
  53. " <b>accepted</b>\n"
  54. " % else:\n"
  55. " <b>rejected</b>\n"
  56. " % endif\n"
  57. " such data processing.\n"
  58. " </p>\n"
  59. " <p>\n"
  60. " You can update your preferences below:\n"
  61. " </p>\n"
  62. " </td>\n"
  63. " </tr>\n"
  64. " <tr>\n"
  65. " <td style=\"padding:15px 20px 0px 20px; font-size:16px; text-align:right;\">\n"
  66. " <a href=\"/privacy/consent/accept/\" style=\"background-color: #449d44; padding: 12px; font-weight: 12px; text-decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  67. " Accept\n"
  68. " </a>\n"
  69. " </td>\n"
  70. " <td style=\"padding:15px 20px 0px 20px; font-size:16px; text-align:left;\">\n"
  71. " <a href=\"/privacy/consent/reject/\" style=\"background-color: #d9534f; padding: 12px; font-weight: 12px; text-decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  72. " Reject\n"
  73. " </a>\n"
  74. " </td>\n"
  75. " </tr>\n"
  76. " <tr>\n"
  77. " <td colspan=\"2\" style=\"padding:15px 20px 15px 20px; font-size:16px;\">\n"
  78. " <p>\n"
  79. " If you need further information, please respond to this email and we will attend your request as soon as possible.\n"
  80. " </p>\n"
  81. " <p>\n"
  82. " Thank you!\n"
  83. " </p>\n"
  84. " </td>\n"
  85. " </tr>\n"
  86. " </tbody>\n"
  87. " </table>\n"
  88. " <table style=\"width:600px;margin:0px auto;text-align:center;\">\n"
  89. " <tbody>\n"
  90. " <tr>\n"
  91. " <td style=\"padding-top:10px;font-size: 12px;\">\n"
  92. " <p>\n"
  93. " Sent by\n"
  94. " <a href=\"/\" style=\"color:#717188;\">${object.activity_id.controller_id.display_name|safe}</a>.\n"
  95. " </p>\n"
  96. " </td>\n"
  97. " </tr>\n"
  98. " </tbody>\n"
  99. " </table>\n"
  100. " </div>\n"
  101. " "
  102. msgstr ""
  103. #. module: privacy_consent
  104. #: model:mail.message.subtype,name:privacy_consent.mt_activity_acceptance_changed
  105. msgid "Acceptance Changed"
  106. msgstr ""
  107. #. module: privacy_consent
  108. #: model:mail.message.subtype,name:privacy_consent.mt_consent_acceptance_changed
  109. msgid "Acceptance Changed by Subject"
  110. msgstr ""
  111. #. module: privacy_consent
  112. #: model:mail.message.subtype,description:privacy_consent.mt_consent_acceptance_changed
  113. msgid "Acceptance status updated by subject"
  114. msgstr ""
  115. #. module: privacy_consent
  116. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_accepted
  117. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  118. msgid "Accepted"
  119. msgstr ""
  120. #. module: privacy_consent
  121. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_default_consent
  122. msgid "Accepted by default"
  123. msgstr ""
  124. #. module: privacy_consent
  125. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_active
  126. msgid "Active"
  127. msgstr ""
  128. #. module: privacy_consent
  129. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_activity_id
  130. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  131. msgid "Activity"
  132. msgstr ""
  133. #. module: privacy_consent
  134. #: selection:privacy.consent,state:0
  135. msgid "Answered"
  136. msgstr ""
  137. #. module: privacy_consent
  138. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  139. msgid "Archived"
  140. msgstr ""
  141. #. module: privacy_consent
  142. #: model:ir.ui.view,arch_db:privacy_consent.consent_form
  143. msgid "Ask for consent"
  144. msgstr ""
  145. #. module: privacy_consent
  146. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_required
  147. msgid "Ask subjects for consent"
  148. msgstr ""
  149. #. module: privacy_consent
  150. #: selection:privacy.activity,consent_required:0
  151. msgid "Automatically"
  152. msgstr ""
  153. #. module: privacy_consent
  154. #: selection:privacy.consent,state:0
  155. msgid "Awaiting response"
  156. msgstr ""
  157. #. module: privacy_consent
  158. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  159. msgid "Consent"
  160. msgstr ""
  161. #. module: privacy_consent
  162. #: model:ir.model,name:privacy_consent.model_privacy_consent
  163. msgid "Consent of data processing"
  164. msgstr ""
  165. #. module: privacy_consent
  166. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_default_body_html
  167. msgid "Consent template default body html"
  168. msgstr ""
  169. #. module: privacy_consent
  170. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_default_subject
  171. msgid "Consent template default subject"
  172. msgstr ""
  173. #. module: privacy_consent
  174. #: model:ir.actions.act_window,name:privacy_consent.consent_action
  175. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_count
  176. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_ids
  177. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner_privacy_consent_count
  178. #: model:ir.model.fields,field_description:privacy_consent.field_res_users_privacy_consent_count
  179. #: model:ir.ui.menu,name:privacy_consent.menu_privacy_consent
  180. msgid "Consents"
  181. msgstr ""
  182. #. module: privacy_consent
  183. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_create_uid
  184. msgid "Created by"
  185. msgstr ""
  186. #. module: privacy_consent
  187. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_create_date
  188. msgid "Created on"
  189. msgstr ""
  190. #. module: privacy_consent
  191. #: model:ir.model,name:privacy_consent.model_privacy_activity
  192. msgid "Data processing activities"
  193. msgstr ""
  194. #. module: privacy_consent
  195. #: model:mail.template,subject:privacy_consent.template_consent
  196. msgid "Data processing consent request for ${object.activity_id.display_name|safe}"
  197. msgstr ""
  198. #. module: privacy_consent
  199. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_display_name
  200. msgid "Display Name"
  201. msgstr ""
  202. #. module: privacy_consent
  203. #: selection:privacy.consent,state:0
  204. msgid "Draft"
  205. msgstr ""
  206. #. module: privacy_consent
  207. #: sql_constraint:privacy.consent:0
  208. msgid "Duplicated partner in this data processing activity"
  209. msgstr ""
  210. #. module: privacy_consent
  211. #: model:ir.model,name:privacy_consent.model_mail_template
  212. msgid "Email Templates"
  213. msgstr ""
  214. #. module: privacy_consent
  215. #: model:ir.model,name:privacy_consent.model_mail_compose_message
  216. msgid "Email composition wizard"
  217. msgstr ""
  218. #. module: privacy_consent
  219. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_id
  220. msgid "Email template"
  221. msgstr ""
  222. #. module: privacy_consent
  223. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_consent_template_id
  224. msgid "Email to be sent to subjects to ask for consent. A good template should include details about the current consent request status, how to change it, and where to get more information."
  225. msgstr ""
  226. #. module: privacy_consent
  227. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_consent_required
  228. msgid "Enable if you need to track any kind of consent from the affected subjects"
  229. msgstr ""
  230. #. module: privacy_consent
  231. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  232. msgid "Generate and enqueue missing consent requests"
  233. msgstr ""
  234. #. module: privacy_consent
  235. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  236. msgid "Generate missing draft consent requests"
  237. msgstr ""
  238. #. module: privacy_consent
  239. #: code:addons/privacy_consent/models/privacy_activity.py:139
  240. #, python-format
  241. msgid "Generated consents"
  242. msgstr ""
  243. #. module: privacy_consent
  244. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  245. msgid "Group By"
  246. msgstr ""
  247. #. module: privacy_consent
  248. #: model:ir.ui.view,arch_db:privacy_consent.form
  249. msgid "Hello,"
  250. msgstr ""
  251. #. module: privacy_consent
  252. #: model:ir.ui.view,arch_db:privacy_consent.form
  253. msgid "I <b>accept</b> this processing of my data"
  254. msgstr ""
  255. #. module: privacy_consent
  256. #: model:ir.ui.view,arch_db:privacy_consent.form
  257. msgid "I <b>reject</b> this processing of my data"
  258. msgstr ""
  259. #. module: privacy_consent
  260. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_id
  261. msgid "ID"
  262. msgstr ""
  263. #. module: privacy_consent
  264. #: model:ir.ui.view,arch_db:privacy_consent.form
  265. msgid "If it was a mistake, you can undo it here:"
  266. msgstr ""
  267. #. module: privacy_consent
  268. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_accepted
  269. msgid "Indicates current acceptance status, which can come from subject's last answer, or from the default specified in the related data processing activity."
  270. msgstr ""
  271. #. module: privacy_consent
  272. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent___last_update
  273. msgid "Last Modified on"
  274. msgstr ""
  275. #. module: privacy_consent
  276. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_write_uid
  277. msgid "Last Updated by"
  278. msgstr ""
  279. #. module: privacy_consent
  280. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_write_date
  281. msgid "Last Updated on"
  282. msgstr ""
  283. #. module: privacy_consent
  284. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_last_metadata
  285. msgid "Last metadata"
  286. msgstr ""
  287. #. module: privacy_consent
  288. #: selection:privacy.activity,consent_required:0
  289. msgid "Manually"
  290. msgstr ""
  291. #. module: privacy_consent
  292. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_last_metadata
  293. msgid "Metadata from the last acceptance or rejection by the subject"
  294. msgstr ""
  295. #. module: privacy_consent
  296. #: code:addons/privacy_consent/models/mail_template.py:25
  297. #, python-format
  298. msgid "Missing privacy consent link placeholders. You need at least these two links:\n"
  299. "<a href=\"%s\">Accept</a>\n"
  300. "<a href=\"%s\">Reject</a>"
  301. msgstr ""
  302. #. module: privacy_consent
  303. #: model:mail.message.subtype,name:privacy_consent.mt_activity_consent_new
  304. #: model:mail.message.subtype,name:privacy_consent.mt_consent_consent_new
  305. msgid "New Consent"
  306. msgstr ""
  307. #. module: privacy_consent
  308. #: model:ir.model,name:privacy_consent.model_mail_mail
  309. msgid "Outgoing Mails"
  310. msgstr ""
  311. #. module: privacy_consent
  312. #: model:ir.model,name:privacy_consent.model_res_partner
  313. msgid "Partner"
  314. msgstr ""
  315. #. module: privacy_consent
  316. #: model:mail.message.subtype,description:privacy_consent.mt_activity_acceptance_changed
  317. msgid "Privacy consent request acceptance status changed"
  318. msgstr ""
  319. #. module: privacy_consent
  320. #: model:mail.message.subtype,description:privacy_consent.mt_activity_consent_new
  321. #: model:mail.message.subtype,description:privacy_consent.mt_consent_consent_new
  322. msgid "Privacy consent request created"
  323. msgstr ""
  324. #. module: privacy_consent
  325. #: model:mail.message.subtype,description:privacy_consent.mt_activity_state_changed
  326. #: model:mail.message.subtype,description:privacy_consent.mt_consent_state_changed
  327. msgid "Privacy consent request state changed"
  328. msgstr ""
  329. #. module: privacy_consent
  330. #: model:ir.model.fields,help:privacy_consent.field_res_partner_privacy_consent_count
  331. #: model:ir.model.fields,help:privacy_consent.field_res_users_privacy_consent_count
  332. msgid "Privacy consent requests amount"
  333. msgstr ""
  334. #. module: privacy_consent
  335. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner_privacy_consent_ids
  336. #: model:ir.model.fields,field_description:privacy_consent.field_res_users_privacy_consent_ids
  337. msgid "Privacy consents"
  338. msgstr ""
  339. #. module: privacy_consent
  340. #: code:addons/privacy_consent/models/privacy_activity.py:100
  341. #, python-format
  342. msgid "Require consent is available only for subjects in current database."
  343. msgstr ""
  344. #. module: privacy_consent
  345. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_server_action_id
  346. msgid "Run this action when a new consent request is created or its acceptance status is updated."
  347. msgstr ""
  348. #. module: privacy_consent
  349. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_server_action_id
  350. msgid "Server action"
  351. msgstr ""
  352. #. module: privacy_consent
  353. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_default_consent
  354. msgid "Should we assume the subject has accepted if we receive no response?"
  355. msgstr ""
  356. #. module: privacy_consent
  357. #: model:ir.ui.view,arch_db:privacy_consent.form
  358. msgid "Sincerely,<br/>"
  359. msgstr ""
  360. #. module: privacy_consent
  361. #: code:addons/privacy_consent/models/privacy_activity.py:92
  362. #, python-format
  363. msgid "Specify a mail template to ask automated consent."
  364. msgstr ""
  365. #. module: privacy_consent
  366. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_state
  367. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  368. msgid "State"
  369. msgstr ""
  370. #. module: privacy_consent
  371. #: model:mail.message.subtype,name:privacy_consent.mt_activity_state_changed
  372. #: model:mail.message.subtype,name:privacy_consent.mt_consent_state_changed
  373. msgid "State Changed"
  374. msgstr ""
  375. #. module: privacy_consent
  376. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_partner_id
  377. msgid "Subject"
  378. msgstr ""
  379. #. module: privacy_consent
  380. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_partner_id
  381. msgid "Subject asked for consent."
  382. msgstr ""
  383. #. module: privacy_consent
  384. #: model:ir.ui.view,arch_db:privacy_consent.form
  385. msgid "Thank you!"
  386. msgstr ""
  387. #. module: privacy_consent
  388. #: model:ir.ui.view,arch_db:privacy_consent.form
  389. msgid "Thanks for your response."
  390. msgstr ""
  391. #. module: privacy_consent
  392. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  393. msgid "This could enqueue many consent emails, are you sure to proceed?"
  394. msgstr ""
  395. #. module: privacy_consent
  396. #: model:ir.actions.server,name:privacy_consent.update_opt_out
  397. msgid "Update partner's opt out"
  398. msgstr ""
  399. #. module: privacy_consent
  400. #: model:ir.ui.view,arch_db:privacy_consent.form
  401. msgid "We asked you to authorize us to process your data in this data processing activity:"
  402. msgstr ""
  403. #. module: privacy_consent
  404. #: model:ir.ui.view,arch_db:privacy_consent.form
  405. msgid "We have recorded this action on your side."
  406. msgstr ""
  407. #. module: privacy_consent
  408. #: model:ir.ui.view,arch_db:privacy_consent.form
  409. msgid "You have <b class=\"text-danger\">rejected</b> such processing."
  410. msgstr ""
  411. #. module: privacy_consent
  412. #: model:ir.ui.view,arch_db:privacy_consent.form
  413. msgid "You have <b class=\"text-success\">accepted</b> such processing."
  414. msgstr ""