Add access to portal/public user to his own email trackings

This commit is contained in:
Antonio Espinosa 2016-10-24 13:35:45 +02:00 committed by Jasmin Solanki
parent bc98b9d162
commit 527a8d09c5
22 changed files with 446 additions and 194 deletions

View File

@ -19,6 +19,7 @@
],
"data": [
"data/tracking_data.xml",
"security/mail_tracking_email_security.xml",
"security/ir.model.access.csv",
"views/assets.xml",
"views/mail_tracking_email_view.xml",

View File

@ -4,14 +4,13 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Carles Antoli <carlesantoli@hotmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Carles Antoli <carlesantoli@hotmail.com>, 2016\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -25,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -130,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "Correu Electrònic"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent per composició de correus electrònics"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -263,7 +273,7 @@ msgstr "Missatge"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -283,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -395,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -415,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -4,14 +4,13 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Ermin Trevisan <trevi@twanda.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Ermin Trevisan <trevi@twanda.com>, 2016\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -25,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -130,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "Email"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent zum Email verfassen"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -263,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -283,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -395,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -415,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -84,7 +84,7 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_create_date
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_create_date
msgid "Created on"
msgstr "Creado en"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_date
@ -92,7 +92,7 @@ msgstr "Creado en"
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Date"
msgstr "Fecha"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.event,event_type:0
@ -116,11 +116,6 @@ msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_display_name
msgid "Display Name"
msgstr "Nombre mostrado"
#. module: mail_tracking
#: field:mail.tracking.email,display_name:0
msgid "Display name"
msgstr ""
#. module: mail_tracking
@ -132,7 +127,18 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_mail_id
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
msgid "Email"
msgstr "Correo electrónico"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente composición Correo Electrónico"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
@ -209,7 +215,7 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email___last_update
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event___last_update
msgid "Last Modified on"
msgstr "Última modificación en"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_write_uid
@ -221,12 +227,12 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_write_date
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_write_date
msgid "Last Updated on"
msgstr "Última actualización en"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_tracking_email
msgid "MailTracking email"
msgstr ""
msgstr "MailTracking email"
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
@ -263,11 +269,11 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_tracking_email_id
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Message"
msgstr ""
msgstr "Mensaje"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -276,7 +282,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Month"
msgstr "Mes"
msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_form
@ -287,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -399,17 +409,11 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
msgstr ""
#. module: mail_tracking
#: field:res.partner,tracking_emails_count:0
msgid "Tracking emails count"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_emails_count
msgid "Tracking emails count"
@ -424,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -3,14 +3,13 @@
# * mail_tracking
#
# Translators:
# John Toro <johntoro@gmail.com>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/es_CO/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -130,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente de redacción de E-mail"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -263,7 +273,7 @@ msgstr "Mensaje"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -283,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -395,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -415,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -129,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -262,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -282,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Abrir"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -394,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -414,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-30 03:36+0000\n"
"PO-Revision-Date: 2016-11-30 03:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -129,6 +129,17 @@ msgstr "Nom affiché"
msgid "Email"
msgstr "Courriel"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistant de composition de courriel"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -262,7 +273,7 @@ msgstr "Message"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr "Destinataire du courriel"
@ -282,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Ouverte"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -305,6 +320,7 @@ msgstr "Partenaire"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_tree
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Recipient"
@ -317,6 +333,7 @@ msgstr "Courriel du destinataire "
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_recipient_address
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient_address
msgid "Recipient email address"
msgstr "Adresse de courriel du destinataire"
@ -394,7 +411,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -414,7 +430,7 @@ msgstr "Suivi du courriel: évènements"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -3,17 +3,14 @@
# * mail_tracking
#
# Translators:
# Ana-Maria Olujić <ana-maria.olujic@slobodni-programi.hr>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Bole <bole@dajmi5.com>, 2016
# Goran Kliska <gkliska@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Goran Kliska <gkliska@gmail.com>, 2016\n"
"POT-Creation-Date: 2016-11-30 03:36+0000\n"
"PO-Revision-Date: 2016-11-30 03:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -27,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -132,6 +129,17 @@ msgstr "Prikaži ime"
msgid "Email"
msgstr "E-mail"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Čarobnjak za sastavljanje maila"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -261,11 +269,11 @@ msgstr ""
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_tracking_email_id
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Message"
msgstr ""
msgstr "Poruka"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -285,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Otvoreno"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -308,6 +320,7 @@ msgstr "Partner"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_tree
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Recipient"
@ -320,6 +333,7 @@ msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_recipient_address
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient_address
msgid "Recipient email address"
msgstr ""
@ -397,7 +411,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -417,7 +430,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -3,16 +3,14 @@
# * mail_tracking
#
# Translators:
# Paolo Valier <paolo.valier@hotmail.it>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Stefano <stefano.sforzi@agilebg.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Stefano <stefano.sforzi@agilebg.com>, 2016\n"
"POT-Creation-Date: 2016-11-30 03:36+0000\n"
"PO-Revision-Date: 2016-11-30 03:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -26,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -131,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "Email"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -264,7 +273,7 @@ msgstr "Messaggio"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -284,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -307,6 +320,7 @@ msgstr "Partner"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_tree
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Recipient"
@ -319,6 +333,7 @@ msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_recipient_address
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient_address
msgid "Recipient email address"
msgstr ""
@ -396,7 +411,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -416,7 +430,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -129,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "E-pasts"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -262,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -282,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Atvērt"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -394,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -414,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -129,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "E-post"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -262,7 +273,7 @@ msgstr "Melding"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -282,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Åpne"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -394,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -414,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -3,14 +3,13 @@
# * mail_tracking
#
# Translators:
# Erwin van der Ploeg <erwin@odooexperts.nl>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-30 03:36+0000\n"
"PO-Revision-Date: 2016-11-30 03:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -130,6 +129,17 @@ msgstr "Weergave naam"
msgid "Email"
msgstr "E-mail"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -263,7 +273,7 @@ msgstr "Bericht"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -283,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr ""
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -306,6 +320,7 @@ msgstr "Partner"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_tree
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Recipient"
@ -318,6 +333,7 @@ msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_recipient_address
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient_address
msgid "Recipient email address"
msgstr ""
@ -395,7 +411,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -415,7 +430,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -4,15 +4,13 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Pedro Castro Silva <pedrocs@sossia.pt>, 2016
# Daniel Reis <dreis.pt@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Daniel Reis <dreis.pt@gmail.com>, 2016\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -26,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -131,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "Email"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -264,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -284,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Aberto"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -396,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -416,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -4,17 +4,13 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Armando Vulcano Junior <vulcano@uol.com.br>, 2016
# Paulo Ricardo <ti@shoppingescritorio.com.br>, 2016
# Wagner Pereira <wagner@wagner.pereira.nom.br>, 2016
# Felipe Lopes <ti@trojahntoppel.com.br>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Felipe Lopes <ti@trojahntoppel.com.br>, 2016\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -28,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -133,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "E-mail"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistente de Composição de Email"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -266,7 +273,7 @@ msgstr "Mensagem"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -286,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Abrir"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -398,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -418,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -3,16 +3,14 @@
# * mail_tracking
#
# Translators:
# Pedro Castro Silva <pedrocs@sossia.pt>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Daniel Reis <dreis.pt@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"Last-Translator: Daniel Reis <dreis.pt@gmail.com>, 2016\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -26,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -131,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -264,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -284,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Aberto"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -396,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -416,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-30 03:36+0000\n"
"PO-Revision-Date: 2016-11-30 03:36+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"MIME-Version: 1.0\n"
@ -24,22 +24,13 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
" * The 'Bounced' status indicates that message was bounced by recipient Mail Exchange (MX) server.\n"
" * The 'Soft bounced' status indicates that message was soft bounced by recipient Mail Exchange (MX) server.\n"
msgstr ""
" * Stanje 'Napaka' pomeni, da je prišlo do napake pri pošiljanju e-pošte, npr. 'Ni veljavnih prejemnikov'\n"
" * Stanje 'Poslano' pomeni, da je bilo sporočilo uspešno poslano preko izhodnega e-poštnega strežnika (SMTP).\n"
" * Stanje 'Dostavljeno' pomeni, da je bilo sporočilo uspešno dostavljeno na prejemnikov Mail Exchange (MX) strežnik.\n"
" * Stanje 'Odprto' pomeni, da je prejemnik sporočilo odprl ali kliknil.\n"
" * Stanje 'Zavrnjeno' pomeni, da je prejemnikov e-poštni naslov na črni listi odhodnega e-poštnega strežnika (SMTP). Priporočeno je, da se ta e-poštni naslov izbriše.\n"
" * Stanje 'Neželjeno' pomeni, da izhodni strežnik (SMTP) obravnava to sporočilo kot neželjeno pošto.\n"
" * Stanje 'Izpisan' pomeni, da je prejemnik zahteval izpis iz seznama prejemnikov tega sporočila.\n"
" * Stanje 'Odbito' pomeni, da je bilo sporočilo odbito s strani prejemnikovega Mail Exchange (MX) strežnika.\n"
" * Stanje 'Mehko odbito' pomeni, da je bilo sporočilo 'mehko' odbito s strani prejemnikovega Mail Exchange (MX) strežnika.\n"
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
@ -138,6 +129,17 @@ msgstr "Prikazni naziv"
msgid "Email"
msgstr "E-pošta"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Čarovnik za sestavljanje e-pošte"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -271,7 +273,7 @@ msgstr "Sporočilo"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr "Sledenje sporočila"
@ -291,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Odprto"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -314,6 +320,7 @@ msgstr "Partner"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_search
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_email_tree
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
msgid "Recipient"
@ -326,6 +333,7 @@ msgstr "Prejemnikova e-pošta"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_email_recipient_address
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_recipient_address
msgid "Recipient email address"
msgstr "Prejemnikova e-pošta"
@ -403,7 +411,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -423,7 +430,7 @@ msgstr "Sledilni dogodki"
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -6,10 +6,10 @@
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-17 02:47+0000\n"
"PO-Revision-Date: 2016-09-17 02:47+0000\n"
"POT-Creation-Date: 2016-11-29 14:24+0000\n"
"PO-Revision-Date: 2016-11-29 14:24+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n"
"MIME-Version: 1.0\n"
@ -24,7 +24,7 @@ msgid ""
" * The 'Error' status indicates that there was an error when trying to sent the email, for example, 'No valid recipient'\n"
" * The 'Sent' status indicates that message was succesfully sent via outgoing email server (SMTP).\n"
" * The 'Delivered' status indicates that message was succesfully delivered to recipient Mail Exchange (MX) server.\n"
" * The 'Open' status indicates that message was opened or clicked by recipient.\n"
" * The 'Opened' status indicates that message was opened or clicked by recipient.\n"
" * The 'Rejected' status indicates that recipient email address is blacklisted by outgoing email server (SMTP). It is recomended to delete this email address.\n"
" * The 'Spam' status indicates that outgoing email server (SMTP) consider this message as spam.\n"
" * The 'Unsubscribed' status indicates that recipient has requested to be unsubscribed from this message.\n"
@ -129,6 +129,17 @@ msgstr ""
msgid "Email"
msgstr "E-post"
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_bounced
#: model:ir.ui.view,arch_db:mail_tracking.view_res_partner_filter
msgid "Email bounced"
msgstr ""
#. module: mail_tracking
#: model:ir.model,name:mail_tracking.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_email_score
msgid "Email score"
@ -262,7 +273,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:53
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:52
#, python-format
msgid "Message tracking"
msgstr ""
@ -282,11 +293,15 @@ msgstr ""
#. module: mail_tracking
#: model:ir.ui.view,arch_db:mail_tracking.view_mail_tracking_event_search
#: selection:mail.tracking.email,state:0
#: selection:mail.tracking.event,event_type:0
msgid "Open"
msgstr "Öppna"
#. module: mail_tracking
#: selection:mail.tracking.email,state:0
msgid "Opened"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_mail_tracking_event_os_family
msgid "Operating system family"
@ -394,7 +409,6 @@ msgid "To:"
msgstr ""
#. module: mail_tracking
#: model:ir.model.fields,field_description:mail_tracking.field_res_partner_tracking_email_ids
#: model:ir.ui.menu,name:mail_tracking.menu_mail_tracking_email
#: model:ir.ui.view,arch_db:mail_tracking.view_partner_form
msgid "Tracking emails"
@ -414,7 +428,7 @@ msgstr ""
#. module: mail_tracking
#. openerp-web
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:33
#: code:addons/mail_tracking/static/src/js/mail_tracking.js:32
#, python-format
msgid "Tracking partner"
msgstr ""

View File

@ -100,16 +100,20 @@ class MailTrackingEmail(models.Model):
@api.model
def email_is_bounced(self, email):
return len(self._email_score_tracking_filter([
('recipient_address', '=ilike', email),
('state', 'in', ('error', 'rejected', 'spam', 'bounced')),
])) > 0
if email:
return len(self._email_score_tracking_filter([
('recipient_address', '=', email.lower()),
('state', 'in', ('error', 'rejected', 'spam', 'bounced')),
])) > 0
return False
@api.model
def email_score_from_email(self, email):
return self._email_score_tracking_filter([
('recipient_address', '=ilike', email)
]).email_score()
if email:
return self._email_score_tracking_filter([
('recipient_address', '=', email.lower())
]).email_score()
return 0.
@api.model
def _email_score_weights(self):
@ -146,11 +150,14 @@ class MailTrackingEmail(models.Model):
@api.depends('recipient')
def _compute_recipient_address(self):
for email in self:
matches = re.search(r'<(.*@.*)>', email.recipient)
if matches:
email.recipient_address = matches.group(1)
if email.recipient:
matches = re.search(r'<(.*@.*)>', email.recipient)
if matches:
email.recipient_address = matches.group(1).lower()
else:
email.recipient_address = email.recipient.lower()
else:
email.recipient_address = email.recipient
email.recipient_address = False
@api.depends('name', 'recipient')
def _compute_tracking_display_name(self):

View File

@ -27,10 +27,12 @@ class ResPartner(models.Model):
@api.depends('email')
def _compute_tracking_emails_count(self):
for partner in self:
partner.tracking_emails_count = self.env['mail.tracking.email'].\
search_count([
('recipient_address', '=ilike', partner.email)
count = 0
if partner.email:
count = self.env['mail.tracking.email'].search_count([
('recipient_address', '=', partner.email.lower())
])
partner.tracking_emails_count = count
@api.multi
def email_bounced_set(self, tracking_email, reason):
@ -41,6 +43,7 @@ class ResPartner(models.Model):
def write(self, vals):
email = vals.get('email')
if email is not None:
vals['email'] = email.lower() if email else False
vals['email_bounced'] = (
bool(email) and
self.env['mail.tracking.email'].email_is_bounced(email))

View File

@ -1,4 +1,6 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_mail_tracking_email_group_public","mail_tracking_email group_public","model_mail_tracking_email","base.group_public",1,0,0,0
"access_mail_tracking_email_group_portal","mail_tracking_email group_portal","model_mail_tracking_email","base.group_portal",1,0,0,0
"access_mail_tracking_email_group_user","mail_tracking_email group_user","model_mail_tracking_email","base.group_user",1,0,0,0
"access_mail_tracking_event_group_user","mail_tracking_event group_user","model_mail_tracking_event","base.group_user",1,0,0,0
"access_mail_tracking_email_group_system","mail_tracking_email group_system","model_mail_tracking_email","base.group_system",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_mail_tracking_email_group_public mail_tracking_email group_public model_mail_tracking_email base.group_public 1 0 0 0
3 access_mail_tracking_email_group_portal mail_tracking_email group_portal model_mail_tracking_email base.group_portal 1 0 0 0
4 access_mail_tracking_email_group_user mail_tracking_email group_user model_mail_tracking_email base.group_user 1 0 0 0
5 access_mail_tracking_event_group_user mail_tracking_event group_user model_mail_tracking_event base.group_user 1 0 0 0
6 access_mail_tracking_email_group_system mail_tracking_email group_system model_mail_tracking_email base.group_system 1 1 1 1

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- © 2016 Antonio Espinosa - <antonio.espinosa@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
<odoo>
<record model="ir.rule" id="mail_tracking_email_portal_public_rule">
<field name="name">mail_tracking_email: portal/public: read access on my email trackings</field>
<field name="model_id" ref="model_mail_tracking_email"/>
<field name="domain_force">[('partner_id', '=', user.partner_id.id)]</field>
<field name="groups" eval="[(4, ref('base.group_portal')), (4, ref('base.group_public'))]"/>
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
<field name="perm_write" eval="False"/>
</record>
</odoo>

View File

@ -52,6 +52,31 @@ class TestMailTracking(TransactionCase):
http.request = self.last_request
return super(TestMailTracking, self).tearDown(*args, **kwargs)
def test_email_lower(self):
self.recipient.write({'email': 'UPPER@example.com'})
self.assertEqual('upper@example.com', self.recipient.email)
def test_empty_email(self):
self.recipient.write({'email_bounced': True})
self.recipient.write({'email': False})
self.assertEqual(False, self.recipient.email)
self.assertEqual(False, self.recipient.email_bounced)
self.recipient.write({'email_bounced': True})
self.recipient.write({'email': ''})
self.assertEqual(False, self.recipient.email)
self.assertEqual(False, self.recipient.email_bounced)
self.assertEqual(
False,
self.env['mail.tracking.email'].email_is_bounced(False))
self.assertEqual(
0.,
self.env['mail.tracking.email'].email_score_from_email(False))
def test_recipient_address_compute(self):
mail, tracking = self.mail_send(self.recipient.email)
tracking.write({'recipient': False})
self.assertEqual(False, tracking.recipient_address)
def test_message_post(self):
# This message will generate a notification for recipient
message = self.env['mail.message'].create({