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.

782 lines
30 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
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 18:08+0100\n"
  11. "Last-Translator: Jairo Llopis <yajo.sk8@gmail.com>\n"
  12. "Language-Team: \n"
  13. "Language: es_ES\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  18. "X-Generator: Poedit 2.2.1\n"
  19. #. module: privacy_consent
  20. #: model:mail.template,body_html:privacy_consent.template_consent
  21. msgid ""
  22. "<?xml version=\"1.0\"?>\n"
  23. "<div style=\"background:#F3F5F6;color:#515166;padding:25px 0px;font-family:"
  24. "Arial,Helvetica,sans-serif;font-size:14px;\">\n"
  25. " <table style=\"width:600px;margin:5px auto;\">\n"
  26. " <tbody>\n"
  27. " <tr>\n"
  28. " <td>\n"
  29. " <a href=\"/\">\n"
  30. " <img src=\"/logo\" alt=\"${object."
  31. "activity_id.controller_id.display_name|safe}\" style=\"vertical-align:"
  32. "baseline;max-width:100px;\"/>\n"
  33. " </a>\n"
  34. " </td>\n"
  35. " </tr>\n"
  36. " </tbody>\n"
  37. " </table>\n"
  38. " <table style=\"width:600px;margin:0px auto;background:white;"
  39. "border:1px solid #e1e1e1;\">\n"
  40. " <tbody>\n"
  41. " <tr>\n"
  42. " <td colspan=\"2\" style=\"padding:15px 20px 0px "
  43. "20px; font-size:16px;\">\n"
  44. " <p>\n"
  45. " Hello, ${object.partner_id.name|safe}\n"
  46. " </p>\n"
  47. " <p>\n"
  48. " We contacted you to ask you to give us "
  49. "your explicit consent to include your data in a data processing activity "
  50. "called\n"
  51. " <b>${object.activity_id.display_name|"
  52. "safe}</b>, property of\n"
  53. " <i>${object.activity_id.controller_id."
  54. "display_name|safe}</i>\n"
  55. " </p>\n"
  56. " ${object.description or \"\"}\n"
  57. " <p>\n"
  58. " % if object.state == \"answered\":\n"
  59. " The last time you answered, you\n"
  60. " % elif object.state == \"sent\":\n"
  61. " If you do nothing, we will assume "
  62. "you have\n"
  63. " % endif\n"
  64. "\n"
  65. " % if object.accepted:\n"
  66. " <b>accepted</b>\n"
  67. " % else:\n"
  68. " <b>rejected</b>\n"
  69. " % endif\n"
  70. " such data processing.\n"
  71. " </p>\n"
  72. " <p>\n"
  73. " You can update your preferences below:\n"
  74. " </p>\n"
  75. " </td>\n"
  76. " </tr>\n"
  77. " <tr>\n"
  78. " <td style=\"padding:15px 20px 0px 20px; font-"
  79. "size:16px; text-align:right;\">\n"
  80. " <a href=\"/privacy/consent/accept/\" style="
  81. "\"background-color: #449d44; padding: 12px; font-weight: 12px; text-"
  82. "decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  83. " Accept\n"
  84. " </a>\n"
  85. " </td>\n"
  86. " <td style=\"padding:15px 20px 0px 20px; font-"
  87. "size:16px; text-align:left;\">\n"
  88. " <a href=\"/privacy/consent/reject/\" style="
  89. "\"background-color: #d9534f; padding: 12px; font-weight: 12px; text-"
  90. "decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  91. " Reject\n"
  92. " </a>\n"
  93. " </td>\n"
  94. " </tr>\n"
  95. " <tr>\n"
  96. " <td colspan=\"2\" style=\"padding:15px 20px 15px "
  97. "20px; font-size:16px;\">\n"
  98. " <p>\n"
  99. " If you need further information, please "
  100. "respond to this email and we will attend your request as soon as possible.\n"
  101. " </p>\n"
  102. " <p>\n"
  103. " Thank you!\n"
  104. " </p>\n"
  105. " </td>\n"
  106. " </tr>\n"
  107. " </tbody>\n"
  108. " </table>\n"
  109. " <table style=\"width:600px;margin:0px auto;text-align:center;"
  110. "\">\n"
  111. " <tbody>\n"
  112. " <tr>\n"
  113. " <td style=\"padding-top:10px;font-size: 12px;"
  114. "\">\n"
  115. " <p>\n"
  116. " Sent by\n"
  117. " <a href=\"/\" style=\"color:#717188;\">"
  118. "${object.activity_id.controller_id.display_name|safe}</a>.\n"
  119. " </p>\n"
  120. " </td>\n"
  121. " </tr>\n"
  122. " </tbody>\n"
  123. " </table>\n"
  124. " </div>\n"
  125. " "
  126. msgstr ""
  127. "<?xml version=\"1.0\"?>\n"
  128. "<div style=\"background:#F3F5F6;color:#515166;padding:25px 0px;font-family:"
  129. "Arial,Helvetica,sans-serif;font-size:14px;\">\n"
  130. " <table style=\"width:600px;margin:5px auto;\">\n"
  131. " <tbody>\n"
  132. " <tr>\n"
  133. " <td>\n"
  134. " <a href=\"/\">\n"
  135. " <img src=\"/logo\" alt=\"${object."
  136. "activity_id.controller_id.display_name|safe}\" style=\"vertical-align:"
  137. "baseline;max-width:100px;\"/>\n"
  138. " </a>\n"
  139. " </td>\n"
  140. " </tr>\n"
  141. " </tbody>\n"
  142. " </table>\n"
  143. " <table style=\"width:600px;margin:0px auto;background:white;"
  144. "border:1px solid #e1e1e1;\">\n"
  145. " <tbody>\n"
  146. " <tr>\n"
  147. " <td colspan=\"2\" style=\"padding:15px 20px 0px "
  148. "20px; font-size:16px;\">\n"
  149. " <p>\n"
  150. " Hola, ${object.partner_id.name|safe}\n"
  151. " </p>\n"
  152. " <p>\n"
  153. " Le hemos contactado para pedirle su "
  154. "consentimiento explícito para incluir sus datos en una actividad de "
  155. "tratamiento llamada\n"
  156. " <b>${object.activity_id.display_name|"
  157. "safe}</b>, propiedad de\n"
  158. " <i>${object.activity_id.controller_id."
  159. "display_name|safe}</i>\n"
  160. " </p>\n"
  161. " ${object.description or \"\"}\n"
  162. " <p>\n"
  163. " % if object.state == \"answered\":\n"
  164. " Según su última respuesta,\n"
  165. " % elif object.state == \"sent\":\n"
  166. " Si no recibimos respuesta, "
  167. "asumiremos que\n"
  168. " % endif\n"
  169. "\n"
  170. " % if object.accepted:\n"
  171. " <b>ha aceptado</b>\n"
  172. " % else:\n"
  173. " <b>ha rechazado</b>\n"
  174. " % endif\n"
  175. " dicho procesamiento de datos.\n"
  176. " </p>\n"
  177. " <p>\n"
  178. " Puede cambiar sus preferencias aquí "
  179. "abajo:\n"
  180. " </p>\n"
  181. " </td>\n"
  182. " </tr>\n"
  183. " <tr>\n"
  184. " <td style=\"padding:15px 20px 0px 20px; font-"
  185. "size:16px; text-align:right;\">\n"
  186. " <a href=\"/privacy/consent/accept/\" style="
  187. "\"background-color: #449d44; padding: 12px; font-weight: 12px; text-"
  188. "decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  189. " Aceptar\n"
  190. " </a>\n"
  191. " </td>\n"
  192. " <td style=\"padding:15px 20px 0px 20px; font-"
  193. "size:16px; text-align:left;\">\n"
  194. " <a href=\"/privacy/consent/reject/\" style="
  195. "\"background-color: #d9534f; padding: 12px; font-weight: 12px; text-"
  196. "decoration: none; color: #fff; border-radius: 5px; font-size:16px;\">\n"
  197. " Rechazar\n"
  198. " </a>\n"
  199. " </td>\n"
  200. " </tr>\n"
  201. " <tr>\n"
  202. " <td colspan=\"2\" style=\"padding:15px 20px 15px "
  203. "20px; font-size:16px;\">\n"
  204. " <p>\n"
  205. " Si necesita más información, por favor "
  206. "responda a este correo electrónico y atenderemos su solicitud a la mayor "
  207. "brevedad posible.\n"
  208. " </p>\n"
  209. " <p>\n"
  210. " ¡Gracias!\n"
  211. " </p>\n"
  212. " </td>\n"
  213. " </tr>\n"
  214. " </tbody>\n"
  215. " </table>\n"
  216. " <table style=\"width:600px;margin:0px auto;text-align:center;"
  217. "\">\n"
  218. " <tbody>\n"
  219. " <tr>\n"
  220. " <td style=\"padding-top:10px;font-size: 12px;"
  221. "\">\n"
  222. " <p>\n"
  223. " Enviado por\n"
  224. " <a href=\"/\" style=\"color:#717188;\">"
  225. "${object.activity_id.controller_id.display_name|safe}</a>.\n"
  226. " </p>\n"
  227. " </td>\n"
  228. " </tr>\n"
  229. " </tbody>\n"
  230. " </table>\n"
  231. " </div>\n"
  232. " "
  233. #. module: privacy_consent
  234. #: model:mail.message.subtype,name:privacy_consent.mt_activity_acceptance_changed
  235. msgid "Acceptance Changed"
  236. msgstr "Aceptación cambiada"
  237. #. module: privacy_consent
  238. #: model:mail.message.subtype,name:privacy_consent.mt_consent_acceptance_changed
  239. msgid "Acceptance Changed by Subject"
  240. msgstr "Aceptación cambiada por el interesado"
  241. #. module: privacy_consent
  242. #: model:mail.message.subtype,description:privacy_consent.mt_consent_acceptance_changed
  243. msgid "Acceptance status updated by subject"
  244. msgstr "Estado de aceptación modificado por el interesado"
  245. #. module: privacy_consent
  246. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__accepted
  247. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_search
  248. msgid "Accepted"
  249. msgstr "Aceptado"
  250. #. module: privacy_consent
  251. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__default_consent
  252. msgid "Accepted by default"
  253. msgstr "Aceptado por defecto"
  254. #. module: privacy_consent
  255. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_needaction
  256. msgid "Action Needed"
  257. msgstr ""
  258. #. module: privacy_consent
  259. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__active
  260. msgid "Active"
  261. msgstr "Activo"
  262. #. module: privacy_consent
  263. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__activity_id
  264. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_search
  265. msgid "Activity"
  266. msgstr "Actividad"
  267. #. module: privacy_consent
  268. #: model:ir.model.fields.selection,name:privacy_consent.selection__privacy_consent__state__answered
  269. msgid "Answered"
  270. msgstr "Respondido"
  271. #. module: privacy_consent
  272. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_form
  273. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_search
  274. msgid "Archived"
  275. msgstr "Archivado"
  276. #. module: privacy_consent
  277. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_form
  278. msgid "Ask for consent"
  279. msgstr "Solicitar consentimiento"
  280. #. module: privacy_consent
  281. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_required
  282. msgid "Ask subjects for consent"
  283. msgstr "Solicitar consentimiento a los interesados"
  284. #. module: privacy_consent
  285. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_attachment_count
  286. msgid "Attachment Count"
  287. msgstr ""
  288. #. module: privacy_consent
  289. #: model:ir.model.fields.selection,name:privacy_consent.selection__privacy_activity__consent_required__auto
  290. msgid "Automatically"
  291. msgstr "Automáticamente"
  292. #. module: privacy_consent
  293. #: model:ir.model.fields.selection,name:privacy_consent.selection__privacy_consent__state__sent
  294. msgid "Awaiting response"
  295. msgstr "Esperando respuesta"
  296. #. module: privacy_consent
  297. #: model_terms:ir.ui.view,arch_db:privacy_consent.activity_form
  298. msgid "Consent"
  299. msgstr "Consentimiento"
  300. #. module: privacy_consent
  301. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_template_default_body_html
  302. #, fuzzy
  303. msgid "Consent Template Default Body Html"
  304. msgstr "HTML por defecto para el cuerpo de la plantilla de consentimiento"
  305. #. module: privacy_consent
  306. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_template_default_subject
  307. #, fuzzy
  308. msgid "Consent Template Default Subject"
  309. msgstr "HTML por defecto para el asunto de la plantilla de consentimiento"
  310. #. module: privacy_consent
  311. #: model:ir.model,name:privacy_consent.model_privacy_consent
  312. msgid "Consent of data processing"
  313. msgstr "Consentimiento para tratamiento de datos"
  314. #. module: privacy_consent
  315. #: model:ir.actions.act_window,name:privacy_consent.consent_action
  316. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_ids
  317. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner__privacy_consent_count
  318. #: model:ir.model.fields,field_description:privacy_consent.field_res_users__privacy_consent_count
  319. #: model:ir.ui.menu,name:privacy_consent.menu_privacy_consent
  320. msgid "Consents"
  321. msgstr "Consents"
  322. #. module: privacy_consent
  323. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_count
  324. #, fuzzy
  325. msgid "Consents count"
  326. msgstr "Consents"
  327. #. module: privacy_consent
  328. #: model:ir.model,name:privacy_consent.model_res_partner
  329. msgid "Contact"
  330. msgstr ""
  331. #. module: privacy_consent
  332. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__create_uid
  333. msgid "Created by"
  334. msgstr "Creado por"
  335. #. module: privacy_consent
  336. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__create_date
  337. msgid "Created on"
  338. msgstr "Creado el"
  339. #. module: privacy_consent
  340. #: model:ir.model,name:privacy_consent.model_privacy_activity
  341. msgid "Data processing activities"
  342. msgstr "Actividades de tratamiento de datos"
  343. #. module: privacy_consent
  344. #: model:mail.template,subject:privacy_consent.template_consent
  345. msgid ""
  346. "Data processing consent request for ${object.activity_id.display_name|safe}"
  347. msgstr ""
  348. "Solicitud de consentimiento para el tratamiento de datos personales para "
  349. "${object.activity_id.display_name|safe}"
  350. #. module: privacy_consent
  351. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__display_name
  352. msgid "Display Name"
  353. msgstr "Nombre a mostrar"
  354. #. module: privacy_consent
  355. #: model:ir.model.fields.selection,name:privacy_consent.selection__privacy_consent__state__draft
  356. msgid "Draft"
  357. msgstr "Borrador"
  358. #. module: privacy_consent
  359. #: model:ir.model.constraint,message:privacy_consent.constraint_privacy_consent_unique_partner_activity
  360. msgid "Duplicated partner in this data processing activity"
  361. msgstr "Contacto duplicado en esta actividad de tratamiento"
  362. #. module: privacy_consent
  363. #: model:ir.model,name:privacy_consent.model_mail_template
  364. msgid "Email Templates"
  365. msgstr "Plantillas de correo electrónico"
  366. #. module: privacy_consent
  367. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__consent_template_id
  368. msgid "Email template"
  369. msgstr "Plantilla de correo electrónico"
  370. #. module: privacy_consent
  371. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity__consent_template_id
  372. msgid ""
  373. "Email to be sent to subjects to ask for consent. A good template should "
  374. "include details about the current consent request status, how to change it, "
  375. "and where to get more information."
  376. msgstr ""
  377. "Correo electrónico a enviar a los interesados para solicitarles el "
  378. "consentimiento. Una buena plantilla debería incluir detalles sobre el estado "
  379. "actual del consentimiento, cómo cambiarlo, y dónde obtener más información."
  380. #. module: privacy_consent
  381. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity__consent_required
  382. msgid ""
  383. "Enable if you need to track any kind of consent from the affected subjects"
  384. msgstr ""
  385. "Actívelo si necesita registrar cualquier tipo de consentimiento de los "
  386. "interesados"
  387. #. module: privacy_consent
  388. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_follower_ids
  389. msgid "Followers"
  390. msgstr ""
  391. #. module: privacy_consent
  392. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_channel_ids
  393. msgid "Followers (Channels)"
  394. msgstr ""
  395. #. module: privacy_consent
  396. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_partner_ids
  397. msgid "Followers (Partners)"
  398. msgstr ""
  399. #. module: privacy_consent
  400. #: model_terms:ir.ui.view,arch_db:privacy_consent.activity_form
  401. msgid "Generate and enqueue missing consent requests"
  402. msgstr ""
  403. "Generar y colocar en la bandeja de salida las solicitudes de consentimiento "
  404. "que falten"
  405. #. module: privacy_consent
  406. #: model_terms:ir.ui.view,arch_db:privacy_consent.activity_form
  407. msgid "Generate missing draft consent requests"
  408. msgstr "Generar borradores de las solicitudes de consentimiento faltantes"
  409. #. module: privacy_consent
  410. #: code:addons/privacy_consent/models/privacy_activity.py:0
  411. #, python-format
  412. msgid "Generated consents"
  413. msgstr "Consentimientos generados"
  414. #. module: privacy_consent
  415. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_search
  416. msgid "Group By"
  417. msgstr "Agrupar por"
  418. #. module: privacy_consent
  419. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  420. msgid "Hello,"
  421. msgstr "Hola,"
  422. #. module: privacy_consent
  423. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  424. msgid "I <b>accept</b> this processing of my data"
  425. msgstr "<b>Acepto</b> este tratamiento de mis datos"
  426. #. module: privacy_consent
  427. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  428. msgid "I <b>reject</b> this processing of my data"
  429. msgstr "<b>Rechazo</b> este tratamiento de mis datos"
  430. #. module: privacy_consent
  431. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__id
  432. msgid "ID"
  433. msgstr "ID"
  434. #. module: privacy_consent
  435. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_needaction
  436. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_unread
  437. msgid "If checked, new messages require your attention."
  438. msgstr ""
  439. #. module: privacy_consent
  440. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_has_error
  441. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_has_sms_error
  442. msgid "If checked, some messages have a delivery error."
  443. msgstr ""
  444. #. module: privacy_consent
  445. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  446. msgid "If it was a mistake, you can undo it here:"
  447. msgstr "Si ha sido un error, puede deshacerlo aquí:"
  448. #. module: privacy_consent
  449. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__accepted
  450. msgid ""
  451. "Indicates current acceptance status, which can come from subject's last "
  452. "answer, or from the default specified in the related data processing "
  453. "activity."
  454. msgstr ""
  455. "Indica el estado actual de la aceptación, el cual puede venir de la última "
  456. "respuesta del interesado, o del estado por defecto especificado en la "
  457. "actividad de tratamiento relacionada."
  458. #. module: privacy_consent
  459. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_is_follower
  460. msgid "Is Follower"
  461. msgstr ""
  462. #. module: privacy_consent
  463. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__last_metadata
  464. #, fuzzy
  465. msgid "Last Metadata"
  466. msgstr "Últimos metadatos"
  467. #. module: privacy_consent
  468. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent____last_update
  469. msgid "Last Modified on"
  470. msgstr "Última modificación en"
  471. #. module: privacy_consent
  472. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__write_uid
  473. msgid "Last Updated by"
  474. msgstr "Última actualización por"
  475. #. module: privacy_consent
  476. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__write_date
  477. msgid "Last Updated on"
  478. msgstr "Última actualización el"
  479. #. module: privacy_consent
  480. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_main_attachment_id
  481. msgid "Main Attachment"
  482. msgstr ""
  483. #. module: privacy_consent
  484. #: model:ir.model.fields.selection,name:privacy_consent.selection__privacy_activity__consent_required__manual
  485. msgid "Manually"
  486. msgstr "Manualmente"
  487. #. module: privacy_consent
  488. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_has_error
  489. msgid "Message Delivery error"
  490. msgstr ""
  491. #. module: privacy_consent
  492. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_ids
  493. msgid "Messages"
  494. msgstr ""
  495. #. module: privacy_consent
  496. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__last_metadata
  497. msgid "Metadata from the last acceptance or rejection by the subject"
  498. msgstr ""
  499. "Metadatos de la última aceptación o denegación por parte del interesado"
  500. #. module: privacy_consent
  501. #: code:addons/privacy_consent/models/mail_template.py:0
  502. #, python-format
  503. msgid ""
  504. "Missing privacy consent link placeholders. You need at least these two "
  505. "links:\n"
  506. "<a href=\"%s\">Accept</a>\n"
  507. "<a href=\"%s\">Reject</a>"
  508. msgstr ""
  509. "Faltan los marcadores de posición de los enlaces para el consentimiento. "
  510. "Necesita al menos estos dos enlaces:\n"
  511. "<a href=\"%s\">Aceptar</a>\n"
  512. "<a href=\"%s\">Rechazar</a>"
  513. #. module: privacy_consent
  514. #: model:mail.message.subtype,name:privacy_consent.mt_activity_consent_new
  515. #: model:mail.message.subtype,name:privacy_consent.mt_consent_consent_new
  516. msgid "New Consent"
  517. msgstr "Nuevo consentimiento"
  518. #. module: privacy_consent
  519. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_needaction_counter
  520. msgid "Number of Actions"
  521. msgstr ""
  522. #. module: privacy_consent
  523. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_has_error_counter
  524. msgid "Number of errors"
  525. msgstr ""
  526. #. module: privacy_consent
  527. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_needaction_counter
  528. msgid "Number of messages which requires an action"
  529. msgstr ""
  530. #. module: privacy_consent
  531. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_has_error_counter
  532. msgid "Number of messages with delivery error"
  533. msgstr ""
  534. #. module: privacy_consent
  535. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__message_unread_counter
  536. msgid "Number of unread messages"
  537. msgstr ""
  538. #. module: privacy_consent
  539. #: model:ir.model,name:privacy_consent.model_mail_mail
  540. msgid "Outgoing Mails"
  541. msgstr "Correos electrónicos salientes"
  542. #. module: privacy_consent
  543. #: model:mail.message.subtype,description:privacy_consent.mt_activity_acceptance_changed
  544. msgid "Privacy consent request acceptance status changed"
  545. msgstr ""
  546. "El estado de aceptación de la solicitud de consentimiento para el "
  547. "tratamiento de datos ha cambiado"
  548. #. module: privacy_consent
  549. #: model:mail.message.subtype,description:privacy_consent.mt_activity_consent_new
  550. #: model:mail.message.subtype,description:privacy_consent.mt_consent_consent_new
  551. msgid "Privacy consent request created"
  552. msgstr ""
  553. "La solicitud de consentimiento para el tratamiento de datos ha sido creada"
  554. #. module: privacy_consent
  555. #: model:mail.message.subtype,description:privacy_consent.mt_activity_state_changed
  556. #: model:mail.message.subtype,description:privacy_consent.mt_consent_state_changed
  557. msgid "Privacy consent request state changed"
  558. msgstr ""
  559. "El estado de la solicitud de consentimiento para el tratamiento de datos ha "
  560. "cambiado"
  561. #. module: privacy_consent
  562. #: model:ir.model.fields,help:privacy_consent.field_res_partner__privacy_consent_count
  563. #: model:ir.model.fields,help:privacy_consent.field_res_users__privacy_consent_count
  564. msgid "Privacy consent requests amount"
  565. msgstr "Cantidad de solicitudes de consentimiento para el tratamiento de datos"
  566. #. module: privacy_consent
  567. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner__privacy_consent_ids
  568. #: model:ir.model.fields,field_description:privacy_consent.field_res_users__privacy_consent_ids
  569. msgid "Privacy consents"
  570. msgstr "Consentimientos para el tratamiento de datos"
  571. #. module: privacy_consent
  572. #: model:ir.actions.server,name:privacy_consent.cron_auto_consent_ir_actions_server
  573. #: model:ir.cron,cron_name:privacy_consent.cron_auto_consent
  574. #: model:ir.cron,name:privacy_consent.cron_auto_consent
  575. msgid "Request automatic data processing consents"
  576. msgstr ""
  577. #. module: privacy_consent
  578. #: code:addons/privacy_consent/models/privacy_activity.py:0
  579. #, python-format
  580. msgid "Require consent is available only for subjects in current database."
  581. msgstr ""
  582. "La opción de exigir consentimiento solo está disponible para interesados que "
  583. "se encuentren en esta misma base de datos."
  584. #. module: privacy_consent
  585. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity__server_action_id
  586. msgid ""
  587. "Run this action when a new consent request is created or its acceptance "
  588. "status is updated."
  589. msgstr ""
  590. "Ejecutar esta acción cuando se cree una nueva solicitud de consentimiento, o "
  591. "cuando su estado de aceptación cambie."
  592. #. module: privacy_consent
  593. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_has_sms_error
  594. msgid "SMS Delivery error"
  595. msgstr ""
  596. #. module: privacy_consent
  597. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity__server_action_id
  598. msgid "Server action"
  599. msgstr "Acción de servidor"
  600. #. module: privacy_consent
  601. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity__default_consent
  602. msgid "Should we assume the subject has accepted if we receive no response?"
  603. msgstr ""
  604. "¿Hay que asumir que el interesado ha aceptado si no recibimos respuesta?"
  605. #. module: privacy_consent
  606. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  607. msgid "Sincerely,<br/>"
  608. msgstr "Atentamente,<br/>"
  609. #. module: privacy_consent
  610. #: code:addons/privacy_consent/models/privacy_activity.py:0
  611. #, python-format
  612. msgid "Specify a mail template to ask automated consent."
  613. msgstr ""
  614. "Especifique una plantilla de correo electrónico para solicitar "
  615. "automáticamente el consentimiento."
  616. #. module: privacy_consent
  617. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__state
  618. #: model_terms:ir.ui.view,arch_db:privacy_consent.consent_search
  619. msgid "State"
  620. msgstr "Estado"
  621. #. module: privacy_consent
  622. #: model:mail.message.subtype,name:privacy_consent.mt_activity_state_changed
  623. #: model:mail.message.subtype,name:privacy_consent.mt_consent_state_changed
  624. msgid "State Changed"
  625. msgstr "El estado ha cambiado"
  626. #. module: privacy_consent
  627. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__partner_id
  628. msgid "Subject"
  629. msgstr "Interesado"
  630. #. module: privacy_consent
  631. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent__partner_id
  632. msgid "Subject asked for consent."
  633. msgstr "Interesado a quien se le pide el consentimiento."
  634. #. module: privacy_consent
  635. #: model:ir.actions.server,name:privacy_consent.sync_blacklist
  636. msgid "Sync partner's email blacklist status"
  637. msgstr ""
  638. #. module: privacy_consent
  639. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  640. msgid "Thank you!"
  641. msgstr "¡Gracias!"
  642. #. module: privacy_consent
  643. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  644. msgid "Thanks for your response."
  645. msgstr "Gracias por su respuesta."
  646. #. module: privacy_consent
  647. #: model_terms:ir.ui.view,arch_db:privacy_consent.activity_form
  648. msgid "This could enqueue many consent emails, are you sure to proceed?"
  649. msgstr ""
  650. "Esto podría poner en la cola muchos correos electrónicos solicitando "
  651. "consentimiento para el tratamiento de datos, ¿seguro que quiere continuar?"
  652. #. module: privacy_consent
  653. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_unread
  654. msgid "Unread Messages"
  655. msgstr ""
  656. #. module: privacy_consent
  657. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent__message_unread_counter
  658. msgid "Unread Messages Counter"
  659. msgstr ""
  660. #. module: privacy_consent
  661. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  662. msgid ""
  663. "We asked you to authorize us to process your data in this data processing "
  664. "activity:"
  665. msgstr ""
  666. "Le hemos solicitado que nos autorice para procesar sus datos personales en "
  667. "esta actividad de tratamiento:"
  668. #. module: privacy_consent
  669. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  670. msgid "We have recorded this action on your side."
  671. msgstr "Hemos registrado esta acción por su parte."
  672. #. module: privacy_consent
  673. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  674. msgid "You have <b class=\"text-danger\">rejected</b> such processing."
  675. msgstr "Ha <b class=\"text-danger\">rechazado</b> dicho tratamiento."
  676. #. module: privacy_consent
  677. #: model_terms:ir.ui.view,arch_db:privacy_consent.form
  678. msgid "You have <b class=\"text-success\">accepted</b> such processing."
  679. msgstr "Ha <b class=\"text-success\">aceptado</b> dicho tratamiento."
  680. #~ msgid "Email composition wizard"
  681. #~ msgstr "Asistente de redacción de correo electrónico"
  682. #~ msgid "Partner"
  683. #~ msgstr "Contacto"
  684. #~ msgid "Update partner's opt out"
  685. #~ msgstr "Sincronizar la opción del contacto para recibir o no envíos masivos"