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.

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