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.

679 lines
26 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: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_active
  256. msgid "Active"
  257. msgstr "Activo"
  258. #. module: privacy_consent
  259. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_activity_id
  260. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  261. msgid "Activity"
  262. msgstr "Actividad"
  263. #. module: privacy_consent
  264. #: selection:privacy.consent,state:0
  265. msgid "Answered"
  266. msgstr "Respondido"
  267. #. module: privacy_consent
  268. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  269. msgid "Archived"
  270. msgstr "Archivado"
  271. #. module: privacy_consent
  272. #: model:ir.ui.view,arch_db:privacy_consent.consent_form
  273. msgid "Ask for consent"
  274. msgstr "Solicitar consentimiento"
  275. #. module: privacy_consent
  276. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_required
  277. msgid "Ask subjects for consent"
  278. msgstr "Solicitar consentimiento a los interesados"
  279. #. module: privacy_consent
  280. #: selection:privacy.activity,consent_required:0
  281. msgid "Automatically"
  282. msgstr "Automáticamente"
  283. #. module: privacy_consent
  284. #: selection:privacy.consent,state:0
  285. msgid "Awaiting response"
  286. msgstr "Esperando respuesta"
  287. #. module: privacy_consent
  288. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  289. msgid "Consent"
  290. msgstr "Consentimiento"
  291. #. module: privacy_consent
  292. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_default_body_html
  293. #, fuzzy
  294. #| msgid "Consent template default body html"
  295. msgid "Consent Template Default Body Html"
  296. msgstr "HTML por defecto para el cuerpo de la plantilla de consentimiento"
  297. #. module: privacy_consent
  298. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_default_subject
  299. #, fuzzy
  300. #| msgid "Consent template default subject"
  301. msgid "Consent Template Default Subject"
  302. msgstr "HTML por defecto para el asunto de la plantilla de consentimiento"
  303. #. module: privacy_consent
  304. #: model:ir.model,name:privacy_consent.model_privacy_consent
  305. msgid "Consent of data processing"
  306. msgstr "Consentimiento para tratamiento de datos"
  307. #. module: privacy_consent
  308. #: model:ir.actions.act_window,name:privacy_consent.consent_action
  309. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_count
  310. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_ids
  311. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner_privacy_consent_count
  312. #: model:ir.model.fields,field_description:privacy_consent.field_res_users_privacy_consent_count
  313. #: model:ir.ui.menu,name:privacy_consent.menu_privacy_consent
  314. msgid "Consents"
  315. msgstr "Consents"
  316. #. module: privacy_consent
  317. #: model:ir.model,name:privacy_consent.model_res_partner
  318. msgid "Contact"
  319. msgstr ""
  320. #. module: privacy_consent
  321. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_create_uid
  322. msgid "Created by"
  323. msgstr "Creado por"
  324. #. module: privacy_consent
  325. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_create_date
  326. msgid "Created on"
  327. msgstr "Creado el"
  328. #. module: privacy_consent
  329. #: model:ir.model,name:privacy_consent.model_privacy_activity
  330. msgid "Data processing activities"
  331. msgstr "Actividades de tratamiento de datos"
  332. #. module: privacy_consent
  333. #: model:mail.template,subject:privacy_consent.template_consent
  334. msgid ""
  335. "Data processing consent request for ${object.activity_id.display_name|safe}"
  336. msgstr ""
  337. "Solicitud de consentimiento para el tratamiento de datos personales para "
  338. "${object.activity_id.display_name|safe}"
  339. #. module: privacy_consent
  340. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_display_name
  341. msgid "Display Name"
  342. msgstr "Nombre a mostrar"
  343. #. module: privacy_consent
  344. #: selection:privacy.consent,state:0
  345. msgid "Draft"
  346. msgstr "Borrador"
  347. #. module: privacy_consent
  348. #: sql_constraint:privacy.consent:0
  349. msgid "Duplicated partner in this data processing activity"
  350. msgstr "Contacto duplicado en esta actividad de tratamiento"
  351. #. module: privacy_consent
  352. #: model:ir.model,name:privacy_consent.model_mail_template
  353. msgid "Email Templates"
  354. msgstr "Plantillas de correo electrónico"
  355. #. module: privacy_consent
  356. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_consent_template_id
  357. msgid "Email template"
  358. msgstr "Plantilla de correo electrónico"
  359. #. module: privacy_consent
  360. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_consent_template_id
  361. msgid ""
  362. "Email to be sent to subjects to ask for consent. A good template should "
  363. "include details about the current consent request status, how to change it, "
  364. "and where to get more information."
  365. msgstr ""
  366. "Correo electrónico a enviar a los interesados para solicitarles el "
  367. "consentimiento. Una buena plantilla debería incluir detalles sobre el estado "
  368. "actual del consentimiento, cómo cambiarlo, y dónde obtener más información."
  369. #. module: privacy_consent
  370. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_consent_required
  371. msgid ""
  372. "Enable if you need to track any kind of consent from the affected subjects"
  373. msgstr ""
  374. "Actívelo si necesita registrar cualquier tipo de consentimiento de los "
  375. "interesados"
  376. #. module: privacy_consent
  377. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  378. msgid "Generate and enqueue missing consent requests"
  379. msgstr ""
  380. "Generar y colocar en la bandeja de salida las solicitudes de consentimiento "
  381. "que falten"
  382. #. module: privacy_consent
  383. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  384. msgid "Generate missing draft consent requests"
  385. msgstr "Generar borradores de las solicitudes de consentimiento faltantes"
  386. #. module: privacy_consent
  387. #: code:addons/privacy_consent/models/privacy_activity.py:138
  388. #, python-format
  389. msgid "Generated consents"
  390. msgstr "Consentimientos generados"
  391. #. module: privacy_consent
  392. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  393. msgid "Group By"
  394. msgstr "Agrupar por"
  395. #. module: privacy_consent
  396. #: model:ir.ui.view,arch_db:privacy_consent.form
  397. msgid "Hello,"
  398. msgstr "Hola,"
  399. #. module: privacy_consent
  400. #: model:ir.ui.view,arch_db:privacy_consent.form
  401. msgid "I <b>accept</b> this processing of my data"
  402. msgstr "<b>Acepto</b> este tratamiento de mis datos"
  403. #. module: privacy_consent
  404. #: model:ir.ui.view,arch_db:privacy_consent.form
  405. msgid "I <b>reject</b> this processing of my data"
  406. msgstr "<b>Rechazo</b> este tratamiento de mis datos"
  407. #. module: privacy_consent
  408. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_id
  409. msgid "ID"
  410. msgstr "ID"
  411. #. module: privacy_consent
  412. #: model:ir.ui.view,arch_db:privacy_consent.form
  413. msgid "If it was a mistake, you can undo it here:"
  414. msgstr "Si ha sido un error, puede deshacerlo aquí:"
  415. #. module: privacy_consent
  416. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_accepted
  417. msgid ""
  418. "Indicates current acceptance status, which can come from subject's last "
  419. "answer, or from the default specified in the related data processing "
  420. "activity."
  421. msgstr ""
  422. "Indica el estado actual de la aceptación, el cual puede venir de la última "
  423. "respuesta del interesado, o del estado por defecto especificado en la "
  424. "actividad de tratamiento relacionada."
  425. #. module: privacy_consent
  426. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_last_metadata
  427. #, fuzzy
  428. #| msgid "Last metadata"
  429. msgid "Last Metadata"
  430. msgstr "Últimos metadatos"
  431. #. module: privacy_consent
  432. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent___last_update
  433. msgid "Last Modified on"
  434. msgstr "Última modificación en"
  435. #. module: privacy_consent
  436. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_write_uid
  437. msgid "Last Updated by"
  438. msgstr "Última actualización por"
  439. #. module: privacy_consent
  440. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_write_date
  441. msgid "Last Updated on"
  442. msgstr "Última actualización el"
  443. #. module: privacy_consent
  444. #: selection:privacy.activity,consent_required:0
  445. msgid "Manually"
  446. msgstr "Manualmente"
  447. #. module: privacy_consent
  448. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_last_metadata
  449. msgid "Metadata from the last acceptance or rejection by the subject"
  450. msgstr ""
  451. "Metadatos de la última aceptación o denegación por parte del interesado"
  452. #. module: privacy_consent
  453. #: code:addons/privacy_consent/models/mail_template.py:24
  454. #, python-format
  455. msgid ""
  456. "Missing privacy consent link placeholders. You need at least these two "
  457. "links:\n"
  458. "<a href=\"%s\">Accept</a>\n"
  459. "<a href=\"%s\">Reject</a>"
  460. msgstr ""
  461. "Faltan los marcadores de posición de los enlaces para el consentimiento. "
  462. "Necesita al menos estos dos enlaces:\n"
  463. "<a href=\"%s\">Aceptar</a>\n"
  464. "<a href=\"%s\">Rechazar</a>"
  465. #. module: privacy_consent
  466. #: model:mail.message.subtype,name:privacy_consent.mt_activity_consent_new
  467. #: model:mail.message.subtype,name:privacy_consent.mt_consent_consent_new
  468. msgid "New Consent"
  469. msgstr "Nuevo consentimiento"
  470. #. module: privacy_consent
  471. #: model:ir.model,name:privacy_consent.model_mail_mail
  472. msgid "Outgoing Mails"
  473. msgstr "Correos electrónicos salientes"
  474. #. module: privacy_consent
  475. #: model:mail.message.subtype,description:privacy_consent.mt_activity_acceptance_changed
  476. msgid "Privacy consent request acceptance status changed"
  477. msgstr ""
  478. "El estado de aceptación de la solicitud de consentimiento para el "
  479. "tratamiento de datos ha cambiado"
  480. #. module: privacy_consent
  481. #: model:mail.message.subtype,description:privacy_consent.mt_activity_consent_new
  482. #: model:mail.message.subtype,description:privacy_consent.mt_consent_consent_new
  483. msgid "Privacy consent request created"
  484. msgstr ""
  485. "La solicitud de consentimiento para el tratamiento de datos ha sido creada"
  486. #. module: privacy_consent
  487. #: model:mail.message.subtype,description:privacy_consent.mt_activity_state_changed
  488. #: model:mail.message.subtype,description:privacy_consent.mt_consent_state_changed
  489. msgid "Privacy consent request state changed"
  490. msgstr ""
  491. "El estado de la solicitud de consentimiento para el tratamiento de datos ha "
  492. "cambiado"
  493. #. module: privacy_consent
  494. #: model:ir.model.fields,help:privacy_consent.field_res_partner_privacy_consent_count
  495. #: model:ir.model.fields,help:privacy_consent.field_res_users_privacy_consent_count
  496. msgid "Privacy consent requests amount"
  497. msgstr "Cantidad de solicitudes de consentimiento para el tratamiento de datos"
  498. #. module: privacy_consent
  499. #: model:ir.model.fields,field_description:privacy_consent.field_res_partner_privacy_consent_ids
  500. #: model:ir.model.fields,field_description:privacy_consent.field_res_users_privacy_consent_ids
  501. msgid "Privacy consents"
  502. msgstr "Consentimientos para el tratamiento de datos"
  503. #. module: privacy_consent
  504. #: model:ir.actions.server,name:privacy_consent.cron_auto_consent_ir_actions_server
  505. #: model:ir.cron,cron_name:privacy_consent.cron_auto_consent
  506. #: model:ir.cron,name:privacy_consent.cron_auto_consent
  507. msgid "Request automatic data processing consents"
  508. msgstr ""
  509. #. module: privacy_consent
  510. #: code:addons/privacy_consent/models/privacy_activity.py:99
  511. #, python-format
  512. msgid "Require consent is available only for subjects in current database."
  513. msgstr ""
  514. "La opción de exigir consentimiento solo está disponible para interesados que "
  515. "se encuentren en esta misma base de datos."
  516. #. module: privacy_consent
  517. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_server_action_id
  518. msgid ""
  519. "Run this action when a new consent request is created or its acceptance "
  520. "status is updated."
  521. msgstr ""
  522. "Ejecutar esta acción cuando se cree una nueva solicitud de consentimiento, o "
  523. "cuando su estado de aceptación cambie."
  524. #. module: privacy_consent
  525. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_activity_server_action_id
  526. msgid "Server action"
  527. msgstr "Acción de servidor"
  528. #. module: privacy_consent
  529. #: model:ir.model.fields,help:privacy_consent.field_privacy_activity_default_consent
  530. msgid "Should we assume the subject has accepted if we receive no response?"
  531. msgstr ""
  532. "¿Hay que asumir que el interesado ha aceptado si no recibimos respuesta?"
  533. #. module: privacy_consent
  534. #: model:ir.ui.view,arch_db:privacy_consent.form
  535. msgid "Sincerely,<br/>"
  536. msgstr "Atentamente,<br/>"
  537. #. module: privacy_consent
  538. #: code:addons/privacy_consent/models/privacy_activity.py:91
  539. #, python-format
  540. msgid "Specify a mail template to ask automated consent."
  541. msgstr ""
  542. "Especifique una plantilla de correo electrónico para solicitar "
  543. "automáticamente el consentimiento."
  544. #. module: privacy_consent
  545. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_state
  546. #: model:ir.ui.view,arch_db:privacy_consent.consent_search
  547. msgid "State"
  548. msgstr "Estado"
  549. #. module: privacy_consent
  550. #: model:mail.message.subtype,name:privacy_consent.mt_activity_state_changed
  551. #: model:mail.message.subtype,name:privacy_consent.mt_consent_state_changed
  552. msgid "State Changed"
  553. msgstr "El estado ha cambiado"
  554. #. module: privacy_consent
  555. #: model:ir.model.fields,field_description:privacy_consent.field_privacy_consent_partner_id
  556. msgid "Subject"
  557. msgstr "Interesado"
  558. #. module: privacy_consent
  559. #: model:ir.model.fields,help:privacy_consent.field_privacy_consent_partner_id
  560. msgid "Subject asked for consent."
  561. msgstr "Interesado a quien se le pide el consentimiento."
  562. #. module: privacy_consent
  563. #: model:ir.ui.view,arch_db:privacy_consent.form
  564. msgid "Thank you!"
  565. msgstr "¡Gracias!"
  566. #. module: privacy_consent
  567. #: model:ir.ui.view,arch_db:privacy_consent.form
  568. msgid "Thanks for your response."
  569. msgstr "Gracias por su respuesta."
  570. #. module: privacy_consent
  571. #: model:ir.ui.view,arch_db:privacy_consent.activity_form
  572. msgid "This could enqueue many consent emails, are you sure to proceed?"
  573. msgstr ""
  574. "Esto podría poner en la cola muchos correos electrónicos solicitando "
  575. "consentimiento para el tratamiento de datos, ¿seguro que quiere continuar?"
  576. #. module: privacy_consent
  577. #: model:ir.actions.server,name:privacy_consent.update_opt_out
  578. msgid "Update partner's opt out"
  579. msgstr "Sincronizar la opción del contacto para recibir o no envíos masivos"
  580. #. module: privacy_consent
  581. #: model:ir.ui.view,arch_db:privacy_consent.form
  582. msgid ""
  583. "We asked you to authorize us to process your data in this data processing "
  584. "activity:"
  585. msgstr ""
  586. "Le hemos solicitado que nos autorice para procesar sus datos personales en "
  587. "esta actividad de tratamiento:"
  588. #. module: privacy_consent
  589. #: model:ir.ui.view,arch_db:privacy_consent.form
  590. msgid "We have recorded this action on your side."
  591. msgstr "Hemos registrado esta acción por su parte."
  592. #. module: privacy_consent
  593. #: model:ir.ui.view,arch_db:privacy_consent.form
  594. msgid "You have <b class=\"text-danger\">rejected</b> such processing."
  595. msgstr "Ha <b class=\"text-danger\">rechazado</b> dicho tratamiento."
  596. #. module: privacy_consent
  597. #: model:ir.ui.view,arch_db:privacy_consent.form
  598. msgid "You have <b class=\"text-success\">accepted</b> such processing."
  599. msgstr "Ha <b class=\"text-success\">aceptado</b> dicho tratamiento."
  600. #~ msgid "Email composition wizard"
  601. #~ msgstr "Asistente de redacción de correo electrónico"
  602. #~ msgid "Partner"
  603. #~ msgstr "Contacto"