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.

663 lines
26 KiB

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