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.

779 lines
30 KiB

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