-
8mail_check_immediately/README.rst
-
1mail_check_immediately/__init__.py
-
15mail_check_immediately/__manifest__.py
-
4mail_check_immediately/doc/changelog.rst
-
80mail_check_immediately/models.py
-
BINmail_check_immediately/static/description/icon.png
-
49mail_check_immediately/static/description/index.html
-
BINmail_check_immediately/static/description/issue.png
-
BINmail_check_immediately/static/description/screenshot.png
-
60mail_check_immediately/static/src/js/main.js
-
29mail_check_immediately/static/src/xml/main.xml
-
16mail_check_immediately/views.xml
-
48mail_fix_553/README.rst
-
1mail_fix_553/__init__.py
-
13mail_fix_553/__manifest__.py
-
15mail_fix_553/data.xml
-
219mail_fix_553/mail_fix_553.py
-
BINmail_fix_553/static/description/icon.png
-
35mail_move_message/README.rst
-
4mail_move_message/__init__.py
-
23mail_move_message/__manifest__.py
-
3mail_move_message/controllers/__init__.py
-
20mail_move_message/controllers/main.py
-
10mail_move_message/data/mail_move_message_data.xml
-
32mail_move_message/doc/changelog.rst
-
35mail_move_message/doc/index.rst
-
388mail_move_message/i18n/es.po
-
380mail_move_message/i18n/it.po
-
173mail_move_message/i18n/mail_move_message.pot
-
380mail_move_message/i18n/pt.po
-
380mail_move_message/i18n/pt_BR.po
-
381mail_move_message/i18n/ru.po
-
382mail_move_message/i18n/sl.po
-
BINmail_move_message/images/m1.png
-
606mail_move_message/mail_move_message_models.py
-
180mail_move_message/mail_move_message_views.xml
-
BINmail_move_message/static/description/delete-message.png
-
BINmail_move_message/static/description/html-message-viewer.png
-
BINmail_move_message/static/description/html-message-viewer1.png
-
BINmail_move_message/static/description/html-message.png
-
BINmail_move_message/static/description/icon.png
-
BINmail_move_message/static/description/inbox-move.png
-
BINmail_move_message/static/description/inbox.png
-
164mail_move_message/static/description/index.html
-
BINmail_move_message/static/description/record-move-back.png
-
BINmail_move_message/static/description/record1.png
-
BINmail_move_message/static/description/record2.png
-
21mail_move_message/static/src/css/mail_move_message.css
-
163mail_move_message/static/src/js/mail_move_message.js
-
18mail_move_message/static/src/xml/mail_move_message_main.xml
-
2mail_move_message/tests/__init__.py
-
57mail_move_message/tests/test_mail_move.py
-
31mail_recovery/README.rst
-
0mail_recovery/__init__.py
-
16mail_recovery/__manifest__.py
-
17mail_recovery/data.xml
-
7mail_recovery/doc/changelog.rst
-
11mail_recovery/doc/index.rst
-
BINmail_recovery/images/mail_recovery.png
-
BINmail_recovery/static/description/black.png
-
BINmail_recovery/static/description/continue.png
-
BINmail_recovery/static/description/icon.png
-
82mail_recovery/static/description/index.html
-
BINmail_recovery/static/description/reopen.png
-
BINmail_recovery/static/description/typing.png
-
25mail_recovery/static/src/js/mail_recovery.js
-
25mail_reply/README.rst
-
0mail_reply/__init__.py
-
20mail_reply/__manifest__.py
-
4mail_reply/doc/changelog.rst
-
28mail_reply/doc/index.rst
-
26mail_reply/i18n/es.po
-
BINmail_reply/static/description/icon.png
-
BINmail_reply/static/description/inbox.png
-
31mail_reply/static/description/index.html
-
51mail_reply/static/src/js/mail_reply.js
-
16mail_reply/static/src/xml/reply_button.xml
-
17mail_reply/templates.xml
-
1mail_reply/tests/__init__.py
-
40mail_reply/tests/test_default.py
-
10res_partner_company_messages/README.rst
-
1res_partner_company_messages/__init__.py
-
15res_partner_company_messages/__manifest__.py
-
24res_partner_company_messages/i18n/es.po
-
24res_partner_company_messages/i18n/ru.po
-
BINres_partner_company_messages/images/child.png
-
BINres_partner_company_messages/images/parent.png
-
20res_partner_company_messages/models.py
-
BINres_partner_company_messages/static/description/icon.png
-
5res_partner_company_messages/views.xml
-
20res_partner_mails_count/README.rst
-
1res_partner_mails_count/__init__.py
-
22res_partner_mails_count/__manifest__.py
-
126res_partner_mails_count/i18n/es.po
-
127res_partner_mails_count/i18n/ru.po
-
BINres_partner_mails_count/images/1.png
-
23res_partner_mails_count/models.py
-
BINres_partner_mails_count/static/description/1.png
-
BINres_partner_mails_count/static/description/2.png
-
BINres_partner_mails_count/static/description/3.png
@ -1,8 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
Check mail immediately |
|||
====================== |
|||
|
|||
Description: https://apps.odoo.com/apps/modules/8.0/mail_check_immediately/ |
@ -1 +0,0 @@ |
|||
from . import models |
@ -1,15 +0,0 @@ |
|||
{ |
|||
"name": "Check mail immediately", |
|||
"version": "12.0.1.0.1", |
|||
"author": "IT-Projects LLC, Ivan Yelizariev", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"category": "Discuss", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://twitter.com/yelizariev", |
|||
"price": 9.00, |
|||
"currency": "EUR", |
|||
"depends": ["base", "web", "fetchmail", "mail"], |
|||
"data": ["views.xml"], |
|||
"qweb": ["static/src/xml/main.xml"], |
|||
"installable": False, |
|||
} |
@ -1,4 +0,0 @@ |
|||
`1.0.1` |
|||
------- |
|||
|
|||
- FIX: incorrectly displayed last updated time when multiple threads (--workers) |
@ -1,80 +0,0 @@ |
|||
import datetime |
|||
|
|||
from odoo import api, exceptions, fields, models, tools |
|||
from odoo.tools.translate import _ |
|||
|
|||
|
|||
class FetchMailServer(models.Model): |
|||
_inherit = "fetchmail.server" |
|||
_name = "fetchmail.server" |
|||
|
|||
_last_updated = None |
|||
|
|||
run_time = fields.Datetime(string="Launch time") |
|||
|
|||
def _run_time(self): |
|||
if not self._last_updated: |
|||
self._last_updated = tools.datetime.now() |
|||
|
|||
src_tstamp_str = self._last_updated.strftime( |
|||
tools.misc.DEFAULT_SERVER_DATETIME_FORMAT |
|||
) |
|||
src_format = tools.misc.DEFAULT_SERVER_DATETIME_FORMAT |
|||
dst_format = tools.misc.DEFAULT_SERVER_DATETIME_FORMAT |
|||
dst_tz_name = self._context.get("tz") or self.env.user.tz |
|||
_now = tools.misc.server_to_local_timestamp( |
|||
src_tstamp_str, src_format, dst_format, dst_tz_name |
|||
) |
|||
|
|||
return _now |
|||
|
|||
@api.model |
|||
def _fetch_mails(self): |
|||
|
|||
if self._context.get("run_fetchmail_manually"): |
|||
# if interval less than 5 seconds |
|||
if self._last_updated and ( |
|||
datetime.datetime.now() - self._last_updated |
|||
) < datetime.timedelta(0, 5): |
|||
raise exceptions.Warning( |
|||
_("Error"), _("Task can be started no earlier than 5 seconds.") |
|||
) |
|||
|
|||
super(FetchMailServer, self)._fetch_mails() |
|||
|
|||
res = ( |
|||
self.env["fetchmail.server"] |
|||
.sudo() |
|||
.with_context(tz=self.env.user.tz) |
|||
.search([("state", "=", "done")]) |
|||
) |
|||
if res: |
|||
res[0].run_time = self._run_time() |
|||
|
|||
|
|||
class FetchMailImmediately(models.AbstractModel): |
|||
|
|||
_name = "fetch_mail.imm" |
|||
|
|||
@api.model |
|||
def get_last_update_time(self): |
|||
res = ( |
|||
self.env["fetchmail.server"] |
|||
.sudo() |
|||
.with_context(tz=self.env.user.tz) |
|||
.search([("state", "=", "done")]) |
|||
) |
|||
array = [r.run_time for r in res] |
|||
if array: |
|||
return array[0] |
|||
else: |
|||
return None |
|||
|
|||
@api.model |
|||
def run_fetchmail_manually(self): |
|||
|
|||
fetchmail_task = self.env.ref("fetchmail.ir_cron_mail_gateway_action") |
|||
fetchmail_model = self.env["fetchmail.server"].sudo() |
|||
|
|||
fetchmail_task._try_lock() |
|||
fetchmail_model.with_context(run_fetchmail_manually=True)._fetch_mails() |
Before Width: 100 | Height: 100 | Size: 2.1 KiB |
@ -1,49 +0,0 @@ |
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2 class="oe_slogan">Check mail immediately</h2> |
|||
<h3 class="oe_slogan">Keep your inbox up to date</h3> |
|||
</div> |
|||
|
|||
<div class="oe_span12"> |
|||
<div class="oe_demo oe_picture oe_screenshot"> |
|||
<img src="screenshot.png?"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2>Protect your business</h2> |
|||
</div> |
|||
<div class="oe_span6"> |
|||
<p class="oe_mt32"> |
|||
<a href="https://github.com/odoo/odoo/issues/7464">Sometimes</a> odoo mail fetching system doesn't work for really long time. It could be a real problem, if you will not notice it on time. Until this issue is fixed, you can restart odoo every time when you see that last fetching time is more than 5 minutes. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span6"> |
|||
<div class="oe_picture"> |
|||
<img src="issue.png?3"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2>Need our service?</h2> |
|||
<p class="oe_mt32">Contact us by <a href="mailto:apps@it-projects.info">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p> |
|||
<ul> |
|||
<li><a href="mailto:apps@it-projects.info">apps@it-projects.info <i class="fa fa-envelope-o"></i></a></li> |
|||
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank"> |
|||
https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li> |
|||
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li> |
|||
<li>skype@it-projects.info <i class="fa fa-skype"></i></li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</section> |
Before Width: 217 | Height: 140 | Size: 8.5 KiB |
Before Width: 840 | Height: 447 | Size: 88 KiB |
@ -1,60 +0,0 @@ |
|||
openerp.mail_check_immediately = function(instance, local) { |
|||
"use strict"; |
|||
instance.mail.Wall.include({ |
|||
init: function() { |
|||
this._super.apply(this, arguments); |
|||
|
|||
var _this = this; |
|||
|
|||
this.imm_model = new instance.web.Model("fetch_mail.imm"); |
|||
this.events["click a.oe_fetch_new_mails"] = function() { |
|||
_this.run_fetchmail_manually(); |
|||
}; |
|||
}, |
|||
|
|||
start: function() { |
|||
var _this = this; |
|||
|
|||
this._super(); |
|||
|
|||
this.get_last_fetched_time(); |
|||
|
|||
this.get_time_loop = setInterval(function() { |
|||
_this.get_last_fetched_time(); |
|||
}, 30000); |
|||
}, |
|||
|
|||
run_fetchmail_manually: function() { |
|||
var _this = this; |
|||
|
|||
this.imm_model |
|||
.call("run_fetchmail_manually", { |
|||
context: new instance.web.CompoundContext(), |
|||
}) |
|||
.then(function() { |
|||
_this.get_last_fetched_time(); |
|||
}); |
|||
}, |
|||
|
|||
get_last_fetched_time: function() { |
|||
var _this = this; |
|||
this.imm_model |
|||
.call("get_last_update_time", { |
|||
context: new instance.web.CompoundContext(), |
|||
}) |
|||
.then(function(res) { |
|||
var value = null; |
|||
if (res) value = $.timeago(res); |
|||
value = value || "undefined"; |
|||
_this.$el |
|||
.find("span.oe_view_manager_fetch_mail_imm_field") |
|||
.html(value); |
|||
}); |
|||
}, |
|||
|
|||
destroy: function() { |
|||
clearInterval(this.get_time_loop); |
|||
this._super.apply(this, arguments); |
|||
}, |
|||
}); |
|||
}; |
@ -1,29 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<templates> |
|||
<t t-name="fetch_mail_immediately.header"> |
|||
<tr class="oe_header_row"> |
|||
<td t-att-colspan="colspan or '3'"> |
|||
<div class="oe_view_manager_fetch_mail_imm"> |
|||
<em> |
|||
<span>Mails fetched:</span> |
|||
<a |
|||
href="#" |
|||
class="oe_fetch_new_mails" |
|||
title="Click to fetch mails now" |
|||
> |
|||
<span class="oe_view_manager_fetch_mail_imm_field" /> |
|||
</a> |
|||
</em> |
|||
</div> |
|||
</td> |
|||
<td /> |
|||
</tr> |
|||
</t> |
|||
<t t-extend="mail.wall"> |
|||
<t t-jquery="tr.oe_header_row_top" t-operation="after"> |
|||
<t t-call="fetch_mail_immediately.header"> |
|||
<t t-set="colspan" t-value="2" /> |
|||
</t> |
|||
</t> |
|||
</t> |
|||
</templates> |
@ -1,16 +0,0 @@ |
|||
<openerp> |
|||
<data> |
|||
<template |
|||
id="assets_backend_inherited_check_mail" |
|||
name="Check mail immediately bar" |
|||
inherit_id="web.assets_backend" |
|||
> |
|||
<xpath expr="." position="inside"> |
|||
<script |
|||
type="text/javascript" |
|||
src="/mail_check_immediately/static/src/js/main.js" |
|||
/> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</openerp> |
@ -1,48 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
Fix mail error 553 |
|||
================== |
|||
|
|||
Module updates 'FROM' field to portal@MYDOMAIN.COM value in order to fix 553 error on a mail service that checks FROM field. |
|||
|
|||
E.g: |
|||
|
|||
* Customer send email from USER@CUSTOMER.com to info@MYDOMAIN.COM |
|||
* odoo accept email and try to send notifcation to related odoo users. E.g to admin@gmail.com. |
|||
* By default odoo prepare notification email with parameters as follows: |
|||
|
|||
* FROM: user@CUSTOMER.com |
|||
* TO: admin@gmail.com |
|||
|
|||
if you mail service provider, e.g. pdd.yandex.ru, doesn't allow emails with a FROM value differ from ...@MYDOMAIN.COM, then you get 553. This is why you need to update FROM value to portal@MYDOMAIN.COM |
|||
|
|||
Configuration |
|||
============= |
|||
|
|||
You can configure default alias at Settings -> System Parameters -> mail.catchall.alias_from |
|||
You can configure name for default alias at Settings -> System Parameters -> mail.catchall.name_alias_from |
|||
|
|||
You can configure name for default alias at Settings -> System Parameters -> mail.catchall.name_alias_from |
|||
|
|||
Known issues / Roadmap |
|||
====================== |
|||
|
|||
The module is consist of redefined send function from mail.mail |
|||
model. So it is just copy pasted source code with some |
|||
modification. This function is changed very rarely, but sometime it |
|||
can happens and the module should be updated. You can check commits |
|||
for mail_mail.py here: |
|||
https://github.com/odoo/odoo/commits/8.0/addons/mail/mail_mail.py |
|||
|
|||
Tested on `Odoo 8.0 <https://github.com/odoo/odoo/commit/d023c079ed86468436f25da613bf486a4a17d625>`_ |
|||
|
|||
Status |
|||
====== |
|||
|
|||
Related issues at odoo's tracker: |
|||
* https://github.com/odoo/odoo/issues/5864 |
|||
* https://github.com/odoo/odoo/issues/3347 |
|||
|
|||
Fix: https://github.com/odoo-dev/odoo/commit/a4597fe34fcfa8dae28b156410080346bb33af33 |
@ -1 +0,0 @@ |
|||
from . import mail_fix_553 |
@ -1,13 +0,0 @@ |
|||
# pylint: disable=manifest-version-format |
|||
{ |
|||
"name": "Fix mail error 553", |
|||
"version": "0.3", |
|||
"author": "IT-Projects LLC, Ivan Yelizariev", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"category": "Discuss", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://yelizariev.github.io", |
|||
"depends": ["base", "mail"], |
|||
"data": ["data.xml"], |
|||
"installable": False, |
|||
} |
@ -1,15 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<openerp> |
|||
<data noupdate="1"> |
|||
<!-- Catchall Email Alias --> |
|||
<record id="icp_mail_catchall_alias_from" model="ir.config_parameter"> |
|||
<field name="key">mail.catchall.alias_from</field> |
|||
<field name="value">portal</field> |
|||
</record> |
|||
<!-- Name for Catchall Email Alias --> |
|||
<record id="icp_mail_catchall_name_alias_from" model="ir.config_parameter"> |
|||
<field name="key">mail.catchall.name_alias_from</field> |
|||
<field name="value">Odoo</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
@ -1,219 +0,0 @@ |
|||
# pylint: disable=old-api7-method-defined,invalid-commit |
|||
import base64 |
|||
import logging |
|||
import re |
|||
from email.utils import formataddr |
|||
|
|||
from odoo import SUPERUSER_ID, tools |
|||
from odoo.osv import osv |
|||
from odoo.tools.safe_eval import safe_eval |
|||
from odoo.tools.translate import _ |
|||
|
|||
from odoo.addons.base.ir.ir_mail_server import MailDeliveryException |
|||
|
|||
_logger = logging.getLogger(__name__) |
|||
|
|||
|
|||
class MailMail(osv.Model): |
|||
_inherit = "mail.mail" |
|||
|
|||
def send( |
|||
self, cr, uid, ids, auto_commit=False, raise_exception=False, context=None |
|||
): |
|||
# copy-paste from addons/mail/mail_mail.py |
|||
""" Sends the selected emails immediately, ignoring their current |
|||
state (mails that have already been sent should not be passed |
|||
unless they should actually be re-sent). |
|||
Emails successfully delivered are marked as 'sent', and those |
|||
that fail to be deliver are marked as 'exception', and the |
|||
corresponding error mail is output in the server logs. |
|||
|
|||
:param bool auto_commit: whether to force a commit of the mail status |
|||
after sending each mail (meant only for scheduler processing); |
|||
should never be True during normal transactions (default: False) |
|||
:param bool raise_exception: whether to raise an exception if the |
|||
email sending process has failed |
|||
:return: True |
|||
""" |
|||
|
|||
# NEW STUFF |
|||
catchall_alias = self.pool["ir.config_parameter"].get_param( |
|||
cr, uid, "mail.catchall.alias_from", context=context |
|||
) |
|||
catchall_alias_name = self.pool["ir.config_parameter"].get_param( |
|||
cr, uid, "mail.catchall.name_alias_from", context=context |
|||
) |
|||
catchall_domain = self.pool["ir.config_parameter"].get_param( |
|||
cr, uid, "mail.catchall.domain", context=context |
|||
) |
|||
|
|||
correct_email_from = r"@%s>?\s*$" % catchall_domain |
|||
default_email_from = "{}@{}".format(catchall_alias, catchall_domain) |
|||
|
|||
context = dict(context or {}) |
|||
ir_mail_server = self.pool.get("ir.mail_server") |
|||
ir_attachment = self.pool["ir.attachment"] |
|||
for mail in self.browse(cr, SUPERUSER_ID, ids, context=context): |
|||
try: |
|||
# TDE note: remove me when model_id field is present on mail.message - done here to avoid doing it multiple times in the sub method |
|||
if mail.model: |
|||
model_id = self.pool["ir.model"].search( |
|||
cr, SUPERUSER_ID, [("model", "=", mail.model)], context=context |
|||
)[0] |
|||
model = self.pool["ir.model"].browse( |
|||
cr, SUPERUSER_ID, model_id, context=context |
|||
) |
|||
else: |
|||
model = None |
|||
if model: |
|||
context["model_name"] = model.name |
|||
|
|||
# load attachment binary data with a separate read(), as prefetching all |
|||
# `datas` (binary field) could bloat the browse cache, triggerring |
|||
# soft/hard mem limits with temporary data. |
|||
attachment_ids = [a.id for a in mail.attachment_ids] |
|||
attachments = [ |
|||
(a["datas_fname"], base64.b64decode(a["datas"])) |
|||
for a in ir_attachment.read( |
|||
cr, SUPERUSER_ID, attachment_ids, ["datas_fname", "datas"] |
|||
) |
|||
] |
|||
|
|||
# specific behavior to customize the send email for notified partners |
|||
email_list = [] |
|||
if mail.email_to: |
|||
email_list.append( |
|||
self.send_get_email_dict(cr, uid, mail, context=context) |
|||
) |
|||
for partner in mail.recipient_ids: |
|||
email_list.append( |
|||
self.send_get_email_dict( |
|||
cr, uid, mail, partner=partner, context=context |
|||
) |
|||
) |
|||
# headers |
|||
headers = {} |
|||
bounce_alias = self.pool["ir.config_parameter"].get_param( |
|||
cr, uid, "mail.bounce.alias", context=context |
|||
) |
|||
catchall_domain = self.pool["ir.config_parameter"].get_param( |
|||
cr, uid, "mail.catchall.domain", context=context |
|||
) |
|||
if bounce_alias and catchall_domain: |
|||
if mail.model and mail.res_id: |
|||
headers["Return-Path"] = "%s-%d-%s-%d@%s" % ( |
|||
bounce_alias, |
|||
mail.id, |
|||
mail.model, |
|||
mail.res_id, |
|||
catchall_domain, |
|||
) |
|||
else: |
|||
headers["Return-Path"] = "%s-%d@%s" % ( |
|||
bounce_alias, |
|||
mail.id, |
|||
catchall_domain, |
|||
) |
|||
if mail.headers: |
|||
try: |
|||
headers.update(safe_eval(mail.headers)) |
|||
except Exception: |
|||
pass |
|||
|
|||
# Writing on the mail object may fail (e.g. lock on user) which |
|||
# would trigger a rollback *after* actually sending the email. |
|||
# To avoid sending twice the same email, provoke the failure earlier |
|||
mail.write({"state": "exception"}) |
|||
mail_sent = False |
|||
|
|||
# build an RFC2822 email.message.Message object and send it without queuing |
|||
res = None |
|||
for email in email_list: |
|||
|
|||
# NEW STUFF |
|||
email_from = mail.email_from |
|||
if re.search(correct_email_from, email_from) is None: |
|||
email_from = default_email_from |
|||
if catchall_alias_name: |
|||
email_from = formataddr((catchall_alias_name, email_from)) |
|||
|
|||
msg = ir_mail_server.build_email( |
|||
email_from=email_from, # NEW STUFF |
|||
email_to=email.get("email_to"), |
|||
subject=email.get("subject"), |
|||
body=email.get("body"), |
|||
body_alternative=email.get("body_alternative"), |
|||
email_cc=tools.email_split(mail.email_cc), |
|||
reply_to=mail.reply_to, |
|||
attachments=attachments, |
|||
message_id=mail.message_id, |
|||
references=mail.references, |
|||
object_id=mail.res_id |
|||
and ("{}-{}".format(mail.res_id, mail.model)), |
|||
subtype="html", |
|||
subtype_alternative="plain", |
|||
headers=headers, |
|||
) |
|||
try: |
|||
res = ir_mail_server.send_email( |
|||
cr, |
|||
uid, |
|||
msg, |
|||
mail_server_id=mail.mail_server_id.id, |
|||
context=context, |
|||
) |
|||
except AssertionError as error: |
|||
if str(error) == ir_mail_server.NO_VALID_RECIPIENT: |
|||
# No valid recipient found for this particular |
|||
# mail item -> ignore error to avoid blocking |
|||
# delivery to next recipients, if any. If this is |
|||
# the only recipient, the mail will show as failed. |
|||
_logger.warning( |
|||
"Ignoring invalid recipients for mail.mail %s: %s", |
|||
mail.message_id, |
|||
email.get("email_to"), |
|||
) |
|||
else: |
|||
raise |
|||
if res: |
|||
mail.write({"state": "sent", "message_id": res}) |
|||
mail_sent = True |
|||
|
|||
# /!\ can't use mail.state here, as mail.refresh() will cause an error |
|||
# see revid:odo@openerp.com-20120622152536-42b2s28lvdv3odyr in 6.1 |
|||
if mail_sent: |
|||
_logger.info( |
|||
"Mail with ID %r and Message-Id %r successfully sent", |
|||
mail.id, |
|||
mail.message_id, |
|||
) |
|||
self._postprocess_sent_message( |
|||
cr, uid, mail, context=context, mail_sent=mail_sent |
|||
) |
|||
except MemoryError: |
|||
# prevent catching transient MemoryErrors, bubble up to notify user or abort cron job |
|||
# instead of marking the mail as failed |
|||
_logger.exception( |
|||
"MemoryError while processing mail with ID %r and Msg-Id %r. " |
|||
"Consider raising the --limit-memory-hard startup option", |
|||
mail.id, |
|||
mail.message_id, |
|||
) |
|||
raise |
|||
except Exception as e: |
|||
_logger.exception("failed sending mail.mail %s", mail.id) |
|||
mail.write({"state": "exception"}) |
|||
self._postprocess_sent_message( |
|||
cr, uid, mail, context=context, mail_sent=False |
|||
) |
|||
if raise_exception: |
|||
if isinstance(e, AssertionError): |
|||
# get the args of the original error, wrap into a value and throw a MailDeliveryException |
|||
# that is an except_orm, with name and value as arguments |
|||
value = ". ".join(e.args) |
|||
raise MailDeliveryException(_("Mail Delivery Failed"), value) |
|||
raise |
|||
|
|||
if auto_commit is True: |
|||
cr.commit() |
|||
return True |
Before Width: 100 | Height: 100 | Size: 2.1 KiB |
@ -1,35 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
.. image:: https://img.shields.io/badge/license-MIT-blue.svg |
|||
:target: https://opensource.org/licenses/MIT |
|||
:alt: License: MIT |
|||
|
|||
================= |
|||
Mail Relocation |
|||
================= |
|||
|
|||
The module allows to relocate messages between models |
|||
|
|||
Questions? |
|||
========== |
|||
|
|||
To get an assistance on this module contact us by email :arrow_right: help@itpp.dev |
|||
|
|||
Contributors |
|||
============ |
|||
* `Ivan Yelizariev <https://it-projects.info/team/yelizariev>`__ |
|||
|
|||
|
|||
Further information |
|||
=================== |
|||
|
|||
Odoo Apps Store: https://apps.odoo.com/apps/modules/11.0/mail_move_message/ |
|||
|
|||
|
|||
Notifications on updates: `via Atom <https://github.com/it-projects-llc/mail-addons/commits/11.0/mail_move_message.atom>`_, `by Email <https://blogtrottr.com/?subscribe=https://github.com/it-projects-llc/mail-addons/commits/11.0/mail_move_message.atom>`_ |
|||
|
|||
Further information and discussion: http://yelizariev.github.io/odoo/module/2015/04/10/mail-relocation.html |
|||
|
|||
Tested on `Odoo 11.0 <https://github.com/odoo/odoo/commit/e9454e79e27d0b85546132cbe00b391e974c66bf>`_ |
@ -1,4 +0,0 @@ |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
from . import controllers |
|||
from . import mail_move_message_models |
@ -1,23 +0,0 @@ |
|||
# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2017 Ilmir Karamov <https://it-projects.info/team/ilmir-k> |
|||
# Copyright 2017 Lilia Salihova |
|||
# Copyright 2016-2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
{ |
|||
"name": "Mail Relocation", |
|||
"version": "12.0.1.0.6", |
|||
"author": "IT-Projects LLC, Ivan Yelizariev, Pavel Romanchenko", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"category": "Discuss", |
|||
"images": ["images/m1.png"], |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://twitter.com/yelizariev", |
|||
"price": 100.00, |
|||
"currency": "EUR", |
|||
"depends": ["mail_all"], |
|||
"data": ["mail_move_message_views.xml", "data/mail_move_message_data.xml"], |
|||
"qweb": ["static/src/xml/mail_move_message_main.xml"], |
|||
"installable": False, |
|||
} |
@ -1,3 +0,0 @@ |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
from . import main |
@ -1,20 +0,0 @@ |
|||
# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
from odoo.http import request |
|||
|
|||
from odoo.addons.bus.controllers.main import BusController |
|||
|
|||
|
|||
class MailChatController(BusController): |
|||
# ----------------------------- |
|||
# Extends BUS Controller Poll |
|||
# ----------------------------- |
|||
|
|||
def _poll(self, dbname, channels, last, options): |
|||
if request.session.uid: |
|||
channels.append((request.db, "mail_move_message")) |
|||
channels.append((request.db, "mail_move_message.delete_message")) |
|||
return super(MailChatController, self)._poll(dbname, channels, last, options) |
@ -1,10 +0,0 @@ |
|||
<?xml version="1.0" ?> |
|||
<!--# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2017 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# License MIT (https://opensource.org/licenses/MIT).--> |
|||
<odoo> |
|||
<record id="mail_relocation_models" model="ir.config_parameter"> |
|||
<field name="key">mail_relocation_models</field> |
|||
<field name="value">crm.lead,project.task</field> |
|||
</record> |
|||
</odoo> |
@ -1,32 +0,0 @@ |
|||
`1.0.6` |
|||
------- |
|||
|
|||
- FIX: Error related to *Create Partner* button on the mail move wizard form. |
|||
|
|||
`1.0.5` |
|||
------- |
|||
|
|||
- FIX: TypeError "Cannot read property 'constructor' of undefined" when change a model |
|||
- FIX: Issue related to 'Move to origin' option |
|||
|
|||
`1.0.4` |
|||
------- |
|||
|
|||
- FIX: don't allow to relocate message to itself as it cause infinitive loop |
|||
- ADD: 'Move Followers' option -- Add followers of current record to a new record. |
|||
|
|||
`1.0.3` |
|||
------- |
|||
|
|||
- FIX email_from parsing. There was an error with specific email_from value (e.g. '"name @ example" <name@example.com>') |
|||
|
|||
`1.0.2` |
|||
------- |
|||
|
|||
- big improvements in interface |
|||
|
|||
`1.0.1` |
|||
------- |
|||
|
|||
- fix bug "some messages are not shown in inbox after relocation" |
|||
- improve "Move back" tool |
@ -1,35 +0,0 @@ |
|||
================= |
|||
Mail Relocation |
|||
================= |
|||
|
|||
Installation |
|||
============ |
|||
|
|||
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way |
|||
|
|||
Configuration |
|||
============= |
|||
|
|||
* Open ``[[ Settings ]] >> Mail Relocation`` menu |
|||
* In **Model** field add models to be used for message relocation |
|||
* Check the box **[x] Move Followers** to move followers by default when relocation |
|||
|
|||
Usage |
|||
===== |
|||
|
|||
Move message |
|||
------------ |
|||
|
|||
* Open ``[[ Discuss ]] >> Inbox`` menu |
|||
* Click on icon of two cross arrows |
|||
* Select a record you need |
|||
* Click **Move** |
|||
RESULT: The message has been moved to the record selected. |
|||
|
|||
Move to origin |
|||
-------------- |
|||
|
|||
* Open the record where the message was moved to |
|||
* Click on the two cross arrows icon highlighted as red |
|||
* Check the box **[x] Move to origin** |
|||
RESULT: The message has been returned back to the original record. |
@ -1,388 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Randall Castro <rcastro@treintaycinco.com>, 2018 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-19 16:49+0000\n" |
|||
"PO-Revision-Date: 2017-12-19 16:49+0000\n" |
|||
"Last-Translator: Randall Castro <rcastro@treintaycinco.com>, 2018\n" |
|||
"Language-Team: Spanish (https://www.transifex.com/it-projects-llc/teams/76080/es/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: es\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "%s ID %s" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "%s [%s] ID %s" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
"Agregar seguidores del registro actual a un nuevo registro.\n" |
|||
"Debe usar esta opción, si el nuevo registro tiene acceso restringido.\n" |
|||
"Puede cambiar el valor predeterminado para esta opción en Configuración / Parámetros del sistema." |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "Todos los hijos" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "Aplicar" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "Autor" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "Puede moverse" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "Cancelar" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "Cerrar" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "Configurar la reubicación de correo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "Crear Cliente" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "Crear nuevo registro" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "Creado por" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "Creado en" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "Borrar mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "Mostrar Nombre" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "¿De verdad quieres borrar este mensaje?" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
"Dirección de correo electrónico del remitente. Este campo se establece " |
|||
"cuando no se encuentra ningún cliente coincidente y reemplaza el campo " |
|||
"author_id en la charla." |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "Filtrar registros por cliente" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "De" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "ID" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "Movido" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "Movido" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "Última modificación en" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "Última actualización por" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "Ultima actualizacion en" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "MOVER A ORIGEN" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "Reubicación de correo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "Marcar como leído y Cerrar" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "Mensaje de correo electrónico de" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "Nombre del mensaje de" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "Mensaje para moverse" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "Modelo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "Modelos" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "Mover" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "Mueva el mensaje y los submensajes al lugar original" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "Mover Seguidores" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "Mover Mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "Mover a hilo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "Movido por" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "Movido por mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "Movido por usuario" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "Mover con" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "Necesita Acción" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "Abrir mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "Opciones" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "Mensaje principal (Original)" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Cliente" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "Registro" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "ID de documento relacionado (Original)" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "Modelo de documento relacionado (Original)" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "Reubicar Mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "Buscar por nombre" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "Tema" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "Mensaje superior, esto inicia mover este mensaje" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "uid" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
"No puedes mover este mensaje. Ya se movió con un mensaje siguiente. Abra uno" |
|||
" y aplique los cambios allí." |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "todos los hijos, incluidos los hijos secundarios" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "mail_move_message.config.settings" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "mail_move_message.wizard" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "o" |
@ -1,380 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Translation Bot <i18n-bot@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-07-17 20:20+0000\n" |
|||
"PO-Revision-Date: 2017-07-17 20:20+0000\n" |
|||
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n" |
|||
"Language-Team: Italian (https://www.transifex.com/it-projects-llc/teams/76080/it/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: it\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Messaggio" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "" |
@ -1,173 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 8.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2015-08-11 06:53+0000\n" |
|||
"PO-Revision-Date: 2015-08-11 06:53+0000\n" |
|||
"Last-Translator: <>\n" |
|||
"Language-Team: \n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Plural-Forms: \n" |
|||
|
|||
#. module: mail_move_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
msgid "Cancel" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,create_uid:0 |
|||
msgid "Created by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,create_date:0 |
|||
msgid "Created on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,id:0 |
|||
msgid "ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,is_moved:0 |
|||
msgid "Is moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,write_uid:0 |
|||
msgid "Last Updated by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,write_date:0 |
|||
msgid "Last Updated on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,record_url:0 |
|||
msgid "Link to record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
#: field:mail_move_message.wizard,message_id:0 |
|||
msgid "Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: help:mail_move_message.wizard,move_back:0 |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,move_back:0 |
|||
msgid "Move to origin" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:5 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,moved_by_message_id:0 |
|||
msgid "Moved by message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,moved_by_user_id:0 |
|||
msgid "Moved by user" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,moved_from_parent_id:0 |
|||
msgid "Parent Message (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:107 |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,res_id:0 |
|||
msgid "Record ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,model_id:0 |
|||
msgid "Record type" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,moved_from_res_id:0 |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail.message,moved_from_model:0 |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:17 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: field:mail_move_message.wizard,parent_id:0 |
|||
msgid "Search by name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: help:mail.message,moved_by_message_id:0 |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: view:mail_move_message.wizard:mail_move_message.view_wizard |
|||
msgid "You cannot move this message. It was already moved with a message bellow. Open one and apply changes there." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: help:mail_move_message.wizard,model_id:0 |
|||
msgid "List available Models is configured at Settings\Technical\Emails\Mail Relocation. Empty for unassigned email" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: help:mail_move_message.wizard,filter_by_partner:0 |
|||
msgid "Show only records with the same partner as email author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: help:mail_move_message.wizard,move_followers:0 |
|||
msgid "Add followers of current record to a new record.\nYou must use this option, if new record has restricted access.\nYou can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
@ -1,380 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Translation Bot <i18n-bot@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-15 13:31+0000\n" |
|||
"PO-Revision-Date: 2017-12-15 13:31+0000\n" |
|||
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n" |
|||
"Language-Team: Portuguese (https://www.transifex.com/it-projects-llc/teams/76080/pt/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: pt\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Mensagem" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "" |
@ -1,380 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Translation Bot <i18n-bot@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-15 13:31+0000\n" |
|||
"PO-Revision-Date: 2017-12-15 13:31+0000\n" |
|||
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n" |
|||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/it-projects-llc/teams/76080/pt_BR/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: pt_BR\n" |
|||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Mensagem" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "" |
@ -1,381 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Translation Bot <i18n-bot@it-projects.info>, 2017 |
|||
# Ivan Yelizariev <yelizariev@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-07-28 14:34+0000\n" |
|||
"PO-Revision-Date: 2017-07-28 14:34+0000\n" |
|||
"Last-Translator: Ivan Yelizariev <yelizariev@it-projects.info>, 2017\n" |
|||
"Language-Team: Russian (https://www.transifex.com/it-projects-llc/teams/76080/ru/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: ru\n" |
|||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Сообщение" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Партнер" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "" |
@ -1,382 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_move_message |
|||
# |
|||
# Translators: |
|||
# Translation Bot <i18n-bot@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-07-17 20:20+0000\n" |
|||
"PO-Revision-Date: 2017-07-17 20:20+0000\n" |
|||
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n" |
|||
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: sl\n" |
|||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:40 |
|||
#, python-format |
|||
msgid "%s ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/controllers/main.py:38 |
|||
#, python-format |
|||
msgid "%s [%s] ID %s" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "" |
|||
"Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "All childs" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Apply" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_partner_id |
|||
msgid "Author" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_can_move |
|||
msgid "Can move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Cancel" |
|||
msgstr "Preklic" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Configure Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Create Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:125 |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
#, python-format |
|||
msgid "Create new record" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_uid |
|||
msgid "Created by" |
|||
msgstr "Ustvaril" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_create_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_create_date |
|||
msgid "Created on" |
|||
msgstr "Ustvarjeno" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Delete message" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_display_name |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_display_name |
|||
msgid "Display Name" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Do you really want to delete this message?" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "" |
|||
"Email address of the sender. This field is set when no matching partner is " |
|||
"found and replaces the author_id field in the chatter." |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_filter_by_partner |
|||
msgid "Filter Records by partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_from |
|||
msgid "From" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_id |
|||
msgid "ID" |
|||
msgstr "ID" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_is_moved |
|||
msgid "Is Moved" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_is_moved |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_is_moved |
|||
msgid "Is moved" |
|||
msgstr "Je premaknjeno" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings___last_update |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_uid |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "Zadnjič posodobil" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_write_date |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "Zadnjič posodobljeno" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "MOVE TO ORIGIN" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.actions.act_window,name:mail_move_message.action_mail_move_message_config |
|||
#: model:ir.ui.menu,name:mail_move_message.menu_mail_move_message |
|||
msgid "Mail Relocation" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Mark as read and Close" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_id |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Message" |
|||
msgstr "Sporočilo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_email_from |
|||
msgid "Message email from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_name_from |
|||
msgid "Message name from" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_body |
|||
msgid "Message to move" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_model |
|||
msgid "Model" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_model_ids |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Models" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move" |
|||
msgstr "Premik" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_move_back |
|||
msgid "Move message and submessages to original place" |
|||
msgstr "Premik sporočila in podrejenih sporočil na izvorno mesto" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_config_settings_move_followers |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_move_followers |
|||
msgid "Move Followers" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Move Message" |
|||
msgstr "Premik sporočila" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/xml/mail_move_message_main.xml:6 |
|||
#, python-format |
|||
msgid "Move to thread" |
|||
msgstr "Premik v nit" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_user_id |
|||
msgid "Moved by" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_message_id |
|||
msgid "Moved by message" |
|||
msgstr "Premaknjeno s sporočilom" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_by_user_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_by_user_id |
|||
msgid "Moved by user" |
|||
msgstr "Premaknil uporabnik" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Moved with" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_to_read |
|||
msgid "Need Action" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "Open message" |
|||
msgstr "Odpri sporočilo" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
msgid "Options" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_parent_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_parent_id |
|||
msgid "Parent Message (Original)" |
|||
msgstr "Nadrejeno sporočilo (original)" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: code:addons/mail_move_message/mail_move_message_models.py:200 |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_res_id |
|||
#, python-format |
|||
msgid "Record" |
|||
msgstr "Zapis" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_res_id |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_res_id |
|||
msgid "Related Document ID (Original)" |
|||
msgstr "ID povezanega dokumenta (original)" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_compose_message_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_mail_moved_from_model |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_message_moved_from_model |
|||
msgid "Related Document Model (Original)" |
|||
msgstr "Model povezanega dokumenta (original)" |
|||
|
|||
#. module: mail_move_message |
|||
#. openerp-web |
|||
#: code:addons/mail_move_message/static/src/js/mail_move_message.js:27 |
|||
#, python-format |
|||
msgid "Relocate Message" |
|||
msgstr "Premik sporočila" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_parent_id |
|||
msgid "Search by name" |
|||
msgstr "Iskanje po nazivu" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_message_subject |
|||
msgid "Subject" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_moved_by_message_id |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_move_message_wizard_message_moved_by_message_id |
|||
msgid "Top message, that initate moving this message" |
|||
msgstr "Zgornje sporočilo, ki je sprožilo premik tega sporočila" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,field_description:mail_move_message.field_mail_move_message_wizard_uid |
|||
msgid "Uid" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "" |
|||
"You cannot move this message. It was already moved with a message bellow. " |
|||
"Open one and apply changes there." |
|||
msgstr "" |
|||
"Tega sporočila ne morete premakniti, ker je bilo že premaknjeno s spodnjim " |
|||
"sporočilom. Tam lahko uveljavljate spremembe." |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_compose_message_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_mail_all_child_ids |
|||
#: model:ir.model.fields,help:mail_move_message.field_mail_message_all_child_ids |
|||
msgid "all childs, including subchilds" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_config_settings |
|||
msgid "mail_move_message.config.settings" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.model,name:mail_move_message.model_mail_move_message_wizard |
|||
msgid "mail_move_message.wizard" |
|||
msgstr "" |
|||
|
|||
#. module: mail_move_message |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_mail_move_message_config_settings |
|||
#: model:ir.ui.view,arch_db:mail_move_message.view_wizard |
|||
msgid "or" |
|||
msgstr "" |
Before Width: 750 | Height: 371 | Size: 478 KiB |
@ -1,606 +0,0 @@ |
|||
# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2016-2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# Copyright 2016 intero-chz <https://github.com/intero-chz> |
|||
# Copyright 2016 manawi <https://github.com/manawi> |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
from odoo import api, exceptions, fields, models |
|||
from odoo.tools import email_split |
|||
from odoo.tools.translate import _ |
|||
|
|||
|
|||
class Wizard(models.TransientModel): |
|||
_name = "mail_move_message.wizard" |
|||
_description = "Mail move message wizard" |
|||
|
|||
@api.model |
|||
def _model_selection(self): |
|||
selection = [] |
|||
config_parameters = self.env["ir.config_parameter"] |
|||
model_names = config_parameters.sudo().get_param("mail_relocation_models") |
|||
model_names = model_names.split(",") if model_names else [] |
|||
if "default_message_id" in self.env.context: |
|||
message = self.env["mail.message"].browse( |
|||
self.env.context["default_message_id"] |
|||
) |
|||
if message.model and message.model not in model_names: |
|||
model_names.append(message.model) |
|||
if message.moved_from_model and message.moved_from_model not in model_names: |
|||
model_names.append(message.moved_from_model) |
|||
if model_names: |
|||
selection = [ |
|||
(m.model, m.display_name) |
|||
for m in self.env["ir.model"].search([("model", "in", model_names)]) |
|||
] |
|||
return selection |
|||
|
|||
@api.model |
|||
def default_get(self, fields_list): |
|||
res = super(Wizard, self).default_get(fields_list) |
|||
|
|||
available_models = self._model_selection() |
|||
if len(available_models): |
|||
record = self.env[available_models[0][0]].search([], limit=1) |
|||
res["model_record"] = ( |
|||
len(record) and (available_models[0][0] + "," + str(record.id)) or False |
|||
) |
|||
|
|||
if "message_id" in res: |
|||
message = self.env["mail.message"].browse(res["message_id"]) |
|||
email_from = message.email_from |
|||
parts = email_split(email_from.replace(" ", ",")) |
|||
if parts: |
|||
email = parts[0] |
|||
name = ( |
|||
email_from.find(email) != -1 |
|||
and email_from[: email_from.index(email)] |
|||
.replace('"', "") |
|||
.replace("<", "") |
|||
.strip() |
|||
or email_from |
|||
) |
|||
else: |
|||
name, email = email_from |
|||
res["message_name_from"] = name |
|||
res["message_email_from"] = email |
|||
|
|||
res["partner_id"] = message.author_id.id |
|||
if message.author_id and self.env.uid not in [ |
|||
u.id for u in message.author_id.user_ids |
|||
]: |
|||
res["filter_by_partner"] = True |
|||
if message.author_id and res.get("model"): |
|||
res_id = self.env[res["model"]].search([], order="id desc", limit=1) |
|||
if res_id: |
|||
res["res_id"] = res_id[0].id |
|||
|
|||
config_parameters = self.env["ir.config_parameter"] |
|||
res["move_followers"] = config_parameters.sudo().get_param( |
|||
"mail_relocation_move_followers" |
|||
) |
|||
|
|||
res["uid"] = self.env.uid |
|||
return res |
|||
|
|||
message_id = fields.Many2one("mail.message", string="Message") |
|||
message_body = fields.Html( |
|||
related="message_id.body", string="Message to move", readonly=True |
|||
) |
|||
message_from = fields.Char( |
|||
related="message_id.email_from", string="From", readonly=True |
|||
) |
|||
message_subject = fields.Char( |
|||
related="message_id.subject", string="Subject", readonly=True |
|||
) |
|||
message_moved_by_message_id = fields.Many2one( |
|||
"mail.message", |
|||
related="message_id.moved_by_message_id", |
|||
string="Moved with", |
|||
readonly=True, |
|||
) |
|||
message_moved_by_user_id = fields.Many2one( |
|||
"res.users", |
|||
related="message_id.moved_by_user_id", |
|||
string="Moved by", |
|||
readonly=True, |
|||
) |
|||
message_is_moved = fields.Boolean( |
|||
string="Is Moved", related="message_id.is_moved", readonly=True |
|||
) |
|||
parent_id = fields.Many2one("mail.message", string="Search by name",) |
|||
model_record = fields.Reference(selection="_model_selection", string="Record") |
|||
model = fields.Char(compute="_compute_model_res_id", string="Model") |
|||
res_id = fields.Integer(compute="_compute_model_res_id", string="Record ID") |
|||
|
|||
can_move = fields.Boolean("Can move", compute="_compute_get_can_move") |
|||
move_back = fields.Boolean( |
|||
"MOVE TO ORIGIN", help="Move message and submessages to original place" |
|||
) |
|||
partner_id = fields.Many2one("res.partner", string="Author") |
|||
filter_by_partner = fields.Boolean("Filter Records by partner") |
|||
message_email_from = fields.Char() |
|||
message_name_from = fields.Char() |
|||
# FIXME message_to_read should be True even if current message or any his childs are unread |
|||
message_to_read = fields.Boolean( |
|||
compute="_compute_is_read", |
|||
string="Unread message", |
|||
help="Service field shows that this message were unread when moved", |
|||
) |
|||
uid = fields.Integer() |
|||
move_followers = fields.Boolean( |
|||
"Move Followers", |
|||
help="Add followers of current record to a new record.\n" |
|||
"You must use this option, if new record has restricted access.\n" |
|||
"You can change default value for this option at Settings/System Parameters", |
|||
) |
|||
|
|||
@api.multi |
|||
@api.depends("model_record") |
|||
def _compute_model_res_id(self): |
|||
for rec in self: |
|||
rec.model = rec.model_record and rec.model_record._name or False |
|||
rec.res_id = rec.model_record and rec.model_record.id or False |
|||
|
|||
@api.depends("message_id") |
|||
@api.multi |
|||
def _compute_get_can_move(self): |
|||
for r in self: |
|||
r.get_can_move_one() |
|||
|
|||
@api.multi |
|||
def _compute_is_read(self): |
|||
messages = ( |
|||
self.env["mail.message"] |
|||
.sudo() |
|||
.browse(self.message_id.all_child_ids.ids + [self.message_id.id]) |
|||
) |
|||
self.message_to_read = True in [m.needaction for m in messages] |
|||
|
|||
@api.multi |
|||
def get_can_move_one(self): |
|||
self.ensure_one() |
|||
# message was not moved before OR message is a top message of previous move |
|||
self.can_move = ( |
|||
not self.message_id.moved_by_message_id |
|||
or self.message_id.moved_by_message_id.id == self.message_id.id |
|||
) |
|||
|
|||
@api.onchange("move_back") |
|||
def on_change_move_back(self): |
|||
if not self.move_back: |
|||
return |
|||
self.parent_id = self.message_id.moved_from_parent_id |
|||
message = self.message_id |
|||
if message.is_moved: |
|||
self.model_record = self.env[message.moved_from_model].browse( |
|||
message.moved_from_res_id |
|||
) |
|||
|
|||
@api.onchange("parent_id", "model_record") |
|||
def update_move_back(self): |
|||
model = self.message_id.moved_from_model |
|||
self.move_back = ( |
|||
self.parent_id == self.message_id.moved_from_parent_id |
|||
and self.res_id == self.message_id.moved_from_res_id |
|||
and (self.model == model or (not self.model and not model)) |
|||
) |
|||
|
|||
@api.onchange("parent_id") |
|||
def on_change_parent_id(self): |
|||
if self.parent_id and self.parent_id.model: |
|||
self.model = self.parent_id.model |
|||
self.res_id = self.parent_id.res_id |
|||
else: |
|||
self.model = None |
|||
self.res_id = None |
|||
|
|||
@api.onchange("model", "filter_by_partner", "partner_id") |
|||
def on_change_partner(self): |
|||
domain = {"res_id": [("id", "!=", self.message_id.res_id)]} |
|||
if self.model and self.filter_by_partner and self.partner_id: |
|||
fields = self.env[self.model].fields_get(False) |
|||
contact_field = False |
|||
for n, f in fields.items(): |
|||
if f["type"] == "many2one" and f["relation"] == "res.partner": |
|||
contact_field = n |
|||
break |
|||
if contact_field: |
|||
domain["res_id"].append((contact_field, "=", self.partner_id.id)) |
|||
if self.model: |
|||
res_id = self.env[self.model].search( |
|||
domain["res_id"], order="id desc", limit=1 |
|||
) |
|||
self.res_id = res_id and res_id[0].id |
|||
else: |
|||
self.res_id = None |
|||
return {"domain": domain} |
|||
|
|||
@api.multi |
|||
def check_access(self): |
|||
for r in self: |
|||
r.check_access_one() |
|||
|
|||
@api.multi |
|||
def check_access_one(self): |
|||
self.ensure_one() |
|||
operation = "write" |
|||
|
|||
if not (self.model and self.res_id): |
|||
return True |
|||
model_obj = self.env[self.model] |
|||
mids = model_obj.browse(self.res_id).exists() |
|||
if hasattr(model_obj, "check_mail_message_access"): |
|||
model_obj.check_mail_message_access(mids.ids, operation) |
|||
else: |
|||
self.env["mail.thread"].check_mail_message_access( |
|||
mids.ids, operation, model_name=self.model |
|||
) |
|||
|
|||
@api.multi |
|||
def open_moved_by_message_id(self): |
|||
message_id = None |
|||
for r in self: |
|||
message_id = r.message_moved_by_message_id.id |
|||
return { |
|||
"type": "ir.actions.act_window", |
|||
"res_model": "mail_move_message.wizard", |
|||
"view_mode": "form", |
|||
"view_type": "form", |
|||
"views": [[False, "form"]], |
|||
"target": "new", |
|||
"context": {"default_message_id": message_id}, |
|||
} |
|||
|
|||
@api.multi |
|||
def move(self): |
|||
for r in self: |
|||
if not r.model: |
|||
raise exceptions.except_orm( |
|||
_("Record field is empty!"), |
|||
_("Select a record for relocation first"), |
|||
) |
|||
for r in self: |
|||
r.check_access() |
|||
if not r.parent_id or not ( |
|||
r.parent_id.model == r.model and r.parent_id.res_id == r.res_id |
|||
): |
|||
# link with the first message of record |
|||
parent = self.env["mail.message"].search( |
|||
[("model", "=", r.model), ("res_id", "=", r.res_id)], |
|||
order="id", |
|||
limit=1, |
|||
) |
|||
r.parent_id = parent.id or None |
|||
r.message_id.move( |
|||
r.parent_id.id, |
|||
r.res_id, |
|||
r.model, |
|||
r.move_back, |
|||
r.move_followers, |
|||
r.message_to_read, |
|||
r.partner_id, |
|||
) |
|||
|
|||
if r.model in ["mail.message", "mail.channel", False]: |
|||
return { |
|||
"name": "Chess game page", |
|||
"type": "ir.actions.act_url", |
|||
"url": "/web", |
|||
"target": "self", |
|||
} |
|||
return { |
|||
"name": _("Record"), |
|||
"view_type": "form", |
|||
"view_mode": "form", |
|||
"res_model": r.model, |
|||
"res_id": r.res_id, |
|||
"views": [(False, "form")], |
|||
"type": "ir.actions.act_window", |
|||
} |
|||
|
|||
@api.multi |
|||
def delete(self): |
|||
for r in self: |
|||
r.delete_one() |
|||
|
|||
@api.multi |
|||
def delete_one(self): |
|||
self.ensure_one() |
|||
msg_id = self.message_id.id |
|||
|
|||
# Send notification |
|||
notification = {"id": msg_id} |
|||
self.env["bus.bus"].sendone( |
|||
(self._cr.dbname, "mail_move_message.delete_message"), notification |
|||
) |
|||
|
|||
self.message_id.unlink() |
|||
return {} |
|||
|
|||
@api.multi |
|||
def read_close(self): |
|||
for r in self: |
|||
r.read_close_one() |
|||
|
|||
@api.multi |
|||
def read_close_one(self): |
|||
self.ensure_one() |
|||
self.message_id.set_message_done() |
|||
self.message_id.child_ids.set_message_done() |
|||
return {"type": "ir.actions.act_window_close"} |
|||
|
|||
|
|||
class MailMessage(models.Model): |
|||
_inherit = "mail.message" |
|||
|
|||
is_moved = fields.Boolean("Is moved") |
|||
moved_from_res_id = fields.Integer("Related Document ID (Original)") |
|||
moved_from_model = fields.Char("Related Document Model (Original)") |
|||
moved_from_parent_id = fields.Many2one( |
|||
"mail.message", "Parent Message (Original)", ondelete="set null" |
|||
) |
|||
moved_by_message_id = fields.Many2one( |
|||
"mail.message", |
|||
"Moved by message", |
|||
ondelete="set null", |
|||
help="Top message, that initate moving this message", |
|||
) |
|||
moved_by_user_id = fields.Many2one( |
|||
"res.users", "Moved by user", ondelete="set null" |
|||
) |
|||
all_child_ids = fields.One2many( |
|||
"mail.message", |
|||
string="All childs", |
|||
compute="_compute_get_all_childs", |
|||
help="all childs, including subchilds", |
|||
) |
|||
moved_as_unread = fields.Boolean("Was Unread", default=False) |
|||
|
|||
@api.multi |
|||
def _compute_get_all_childs(self, include_myself=True): |
|||
for r in self: |
|||
r._get_all_childs_one(include_myself=include_myself) |
|||
|
|||
@api.multi |
|||
def _get_all_childs_one(self, include_myself=True): |
|||
self.ensure_one() |
|||
ids = [] |
|||
if include_myself: |
|||
ids.append(self.id) |
|||
while True: |
|||
new_ids = self.search([("parent_id", "in", ids), ("id", "not in", ids)]).ids |
|||
if new_ids: |
|||
ids = ids + new_ids |
|||
continue |
|||
break |
|||
moved_childs = self.search([("moved_by_message_id", "=", self.id)]).ids |
|||
self.all_child_ids = ids + moved_childs |
|||
|
|||
@api.multi |
|||
def move_followers(self, model, ids): |
|||
fol_obj = self.env["mail.followers"] |
|||
for message in self: |
|||
followers = fol_obj.sudo().search( |
|||
[("res_model", "=", message.model), ("res_id", "=", message.res_id)] |
|||
) |
|||
for f in followers: |
|||
self.env[model].browse(ids).message_subscribe( |
|||
[f.partner_id.id], [s.id for s in f.subtype_ids] |
|||
) |
|||
|
|||
@api.multi |
|||
def move( |
|||
self, |
|||
parent_id, |
|||
res_id, |
|||
model, |
|||
move_back, |
|||
move_followers=False, |
|||
message_to_read=False, |
|||
author=False, |
|||
): |
|||
for r in self: |
|||
r.move_one( |
|||
parent_id, |
|||
res_id, |
|||
model, |
|||
move_back, |
|||
move_followers=move_followers, |
|||
message_to_read=message_to_read, |
|||
author=author, |
|||
) |
|||
|
|||
@api.multi |
|||
def move_one( |
|||
self, |
|||
parent_id, |
|||
res_id, |
|||
model, |
|||
move_back, |
|||
move_followers=False, |
|||
message_to_read=False, |
|||
author=False, |
|||
): |
|||
self.ensure_one() |
|||
if parent_id == self.id: |
|||
# if for any reason method is called to move message with parent |
|||
# equal to oneself, we need stop to prevent infinitive loop in |
|||
# building message tree |
|||
return |
|||
if not self.author_id: |
|||
self.write({"author_id": author.id}) |
|||
|
|||
vals = {} |
|||
if move_back: |
|||
# clear variables if we move everything back |
|||
vals["is_moved"] = False |
|||
vals["moved_by_user_id"] = None |
|||
vals["moved_by_message_id"] = None |
|||
|
|||
vals["moved_from_res_id"] = None |
|||
vals["moved_from_model"] = None |
|||
vals["moved_from_parent_id"] = None |
|||
vals["moved_as_unread"] = None |
|||
else: |
|||
vals["parent_id"] = parent_id |
|||
vals["res_id"] = res_id |
|||
vals["model"] = model |
|||
|
|||
vals["is_moved"] = True |
|||
vals["moved_by_user_id"] = self.env.user.id |
|||
vals["moved_by_message_id"] = self.id |
|||
vals["moved_as_unread"] = message_to_read |
|||
# Update record_name in message |
|||
vals["record_name"] = self._get_record_name(vals) |
|||
|
|||
# unread message remains unread after moving back to origin |
|||
if self.moved_as_unread and move_back: |
|||
notification = { |
|||
"mail_message_id": self.id, |
|||
"res_partner_id": self.env.user.partner_id.id, |
|||
"is_read": False, |
|||
} |
|||
self.write({"notification_ids": [(0, 0, notification)]}) |
|||
|
|||
for r in self.all_child_ids: |
|||
r_vals = vals.copy() |
|||
if not r.is_moved: |
|||
# moved_from_* variables contain not last, but original |
|||
# reference |
|||
r_vals["moved_from_parent_id"] = r.parent_id.id or r.env.context.get( |
|||
"uid" |
|||
) |
|||
r_vals["moved_from_res_id"] = r.res_id or r.id |
|||
r_vals["moved_from_model"] = r.model or r._name |
|||
elif move_back: |
|||
r_vals["parent_id"] = r.moved_from_parent_id.id |
|||
r_vals["res_id"] = r.moved_from_res_id |
|||
r_vals["model"] = ( |
|||
r.moved_from_model |
|||
and r.moved_from_model |
|||
not in ["mail.message", "mail.channel", False] |
|||
) and r.moved_from_model |
|||
r_vals["record_name"] = ( |
|||
r_vals["model"] |
|||
and self.env[r.moved_from_model].browse(r.moved_from_res_id).name |
|||
) |
|||
|
|||
if move_followers: |
|||
r.sudo().move_followers(r_vals.get("model"), r_vals.get("res_id")) |
|||
r.sudo().write(r_vals) |
|||
r.attachment_ids.sudo().write( |
|||
{"res_id": r_vals.get("res_id"), "res_model": r_vals.get("model")} |
|||
) |
|||
|
|||
# Send notification |
|||
notification = { |
|||
"id": self.id, |
|||
"res_id": vals.get("res_id"), |
|||
"model": vals.get("model"), |
|||
"is_moved": vals["is_moved"], |
|||
"record_name": "record_name" in vals and vals["record_name"], |
|||
} |
|||
self.env["bus.bus"].sendone( |
|||
(self._cr.dbname, "mail_move_message"), notification |
|||
) |
|||
|
|||
@api.multi |
|||
def name_get(self): |
|||
context = self.env.context |
|||
if not (context or {}).get("extended_name"): |
|||
return super(MailMessage, self).name_get() |
|||
reads = self.read(["record_name", "model", "res_id"]) |
|||
res = [] |
|||
for record in reads: |
|||
name = record["record_name"] or "" |
|||
extended_name = " [{}] ID {}".format( |
|||
record.get("model", "UNDEF"), record.get("res_id", "UNDEF"), |
|||
) |
|||
res.append((record["id"], name + extended_name)) |
|||
return res |
|||
|
|||
@api.multi |
|||
def message_format(self): |
|||
message_values = super(MailMessage, self).message_format() |
|||
message_index = {message["id"]: message for message in message_values} |
|||
for item in self: |
|||
msg = message_index.get(item.id) |
|||
if msg: |
|||
msg["is_moved"] = item.is_moved |
|||
return message_values |
|||
|
|||
|
|||
class MailMoveMessageConfiguration(models.TransientModel): |
|||
_inherit = "res.config.settings" |
|||
|
|||
model_ids = fields.Many2many(comodel_name="ir.model", string="Models") |
|||
move_followers = fields.Boolean("Move Followers") |
|||
|
|||
@api.model |
|||
def get_values(self): |
|||
res = super(MailMoveMessageConfiguration, self).get_values() |
|||
config_parameters = self.env["ir.config_parameter"].sudo() |
|||
model_names = config_parameters.sudo().get_param("mail_relocation_models") |
|||
model_names = model_names.split(",") |
|||
model_ids = self.env["ir.model"].sudo().search([("model", "in", model_names)]) |
|||
res.update( |
|||
model_ids=[m.id for m in model_ids], |
|||
move_followers=config_parameters.sudo().get_param( |
|||
"mail_relocation_move_followers" |
|||
), |
|||
) |
|||
return res |
|||
|
|||
@api.multi |
|||
def set_values(self): |
|||
super(MailMoveMessageConfiguration, self).set_values() |
|||
config_parameters = self.env["ir.config_parameter"].sudo() |
|||
for record in self: |
|||
model_names = ",".join([x.model for x in record.model_ids]) |
|||
config_parameters.set_param("mail_relocation_models", model_names or "") |
|||
config_parameters.set_param( |
|||
"mail_relocation_move_followers", record.move_followers or "" |
|||
) |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
_inherit = "res.partner" |
|||
|
|||
@api.model |
|||
def create(self, vals): |
|||
res = super(ResPartner, self).create(vals) |
|||
if "update_message_author" in self.env.context and "email" in vals: |
|||
mail_message_obj = self.env["mail.message"] |
|||
# Escape special SQL characters in email_address to avoid invalid matches |
|||
email_address = ( |
|||
vals["email"] |
|||
.replace("\\", "\\\\") |
|||
.replace("%", "\\%") |
|||
.replace("_", "\\_") |
|||
) |
|||
email_brackets = "<%s>" % email_address |
|||
messages = mail_message_obj.search( |
|||
[ |
|||
"|", |
|||
("email_from", "=ilike", email_address), |
|||
("email_from", "ilike", email_brackets), |
|||
("author_id", "=", False), |
|||
] |
|||
) |
|||
if messages: |
|||
messages.sudo().write({"author_id": res.id}) |
|||
return res |
|||
|
|||
@api.model |
|||
def default_get(self, default_fields): |
|||
contextual_self = self |
|||
if ( |
|||
"mail_move_message" in self.env.context |
|||
and self.env.context["mail_move_message"] |
|||
): |
|||
contextual_self = self.with_context( |
|||
default_name=self.env.context["message_name_from"] or "", |
|||
default_email=self.env.context["message_email_from"] or "", |
|||
) |
|||
return super(ResPartner, contextual_self).default_get(default_fields) |
@ -1,180 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!--# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT).--> |
|||
<odoo> |
|||
<template |
|||
id="assets_backend" |
|||
name="custom bar assets" |
|||
inherit_id="web.assets_backend" |
|||
> |
|||
<xpath expr="." position="inside"> |
|||
<link |
|||
rel="stylesheet" |
|||
href="/mail_move_message/static/src/css/mail_move_message.css" |
|||
/> |
|||
<script |
|||
type="text/javascript" |
|||
src="/mail_move_message/static/src/js/mail_move_message.js" |
|||
/> |
|||
</xpath> |
|||
</template> |
|||
<record id="view_wizard" model="ir.ui.view"> |
|||
<field name="name">mail_move_message.wizard.view</field> |
|||
<field name="model">mail_move_message.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Move Message"> |
|||
<field name="can_move" invisible="1" /> |
|||
<field name="message_is_moved" invisible="1" /> |
|||
<field name="message_name_from" invisible="1" /> |
|||
<field name="message_email_from" invisible="1" /> |
|||
<field name="message_to_read" invisible="1" /> |
|||
<field name="uid" invisible="1" /> |
|||
<p |
|||
attrs="{'invisible':[('can_move', '!=', False)]}" |
|||
>You cannot move this message. It was already moved with a message bellow. Open one and apply changes there.</p> |
|||
<group attrs="{'invisible':[('can_move', '!=', False)]}"> |
|||
<field |
|||
name="message_moved_by_message_id" |
|||
context="{'extended_name':1}" |
|||
/> |
|||
<field name="message_moved_by_user_id" /> |
|||
<button |
|||
name="open_moved_by_message_id" |
|||
string="Open message" |
|||
type="object" |
|||
class="oe_highlight" |
|||
/> |
|||
</group> |
|||
<group attrs="{'invisible':[('can_move', '=', False)]}" colspan="2"> |
|||
<label for="model_record" /> |
|||
<div> |
|||
<field name="model_record" class="oe_inline" /> |
|||
<field name="model" invisible="1" /> |
|||
<field name="res_id" invisible="1" /> |
|||
</div> |
|||
<label for="filter_by_partner" /> |
|||
<div> |
|||
<field name="filter_by_partner" class="oe_inline" /> |
|||
<field name="partner_id" class="oe_inline" /> |
|||
<button |
|||
string="Create Partner" |
|||
attrs="{'invisible':[('partner_id','!=',False)]}" |
|||
class="oe_highlight oe_inline ml32" |
|||
special="quick_create" |
|||
model="res.partner" |
|||
field="partner_id" |
|||
context="{'force_email':True,'default_email':message_email_from,'default_name':message_name_from, 'update_message_author':True}" |
|||
/> |
|||
</div> |
|||
<label |
|||
for="move_back" |
|||
attrs="{'invisible':[('message_is_moved','=',False)]}" |
|||
/> |
|||
<div attrs="{'invisible':[('message_is_moved','=',False)]}"> |
|||
<field name="move_back" /> |
|||
</div> |
|||
<label for="move_followers" /> |
|||
<div> |
|||
<field name="move_followers" /> |
|||
</div> |
|||
</group> |
|||
<button |
|||
name="move" |
|||
string="Move" |
|||
type="object" |
|||
class="oe_highlight" |
|||
attrs="{'invisible':[('can_move', '=', False)]}" |
|||
/> |
|||
<button string="Close" class="" special="cancel" /> |
|||
<separator string="Message" /> |
|||
<group> |
|||
<field name="message_subject" /> |
|||
<field name="message_from" /> |
|||
<field name="message_id" invisible="1" /> |
|||
</group> |
|||
<div class="openerp mail_move_message"> |
|||
<div class="oe_mail"> |
|||
<div class="oe_msg"> |
|||
<div class="oe_msg_content"> |
|||
<div class="oe_msg_body"> |
|||
<!-- use built-in css for messages --> |
|||
<field name="message_body" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<footer> |
|||
<button |
|||
name="read_close" |
|||
string="Mark as read and Close" |
|||
type="object" |
|||
class="oe_highlight" |
|||
/> or |
|||
<button special="cancel" string="Close" class="oe_link" /> |
|||
|
|||
|
|||
<button |
|||
name="delete" |
|||
string="Delete message" |
|||
type="object" |
|||
class="oe_highlight pull-right" |
|||
confirm="Do you really want to delete this message?" |
|||
attrs="{'invisible':[('uid','!=',1)]}" |
|||
/> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Relocation config wizard --> |
|||
<record id="view_mail_move_message_config_settings" model="ir.ui.view"> |
|||
<field name="name">res.config.settings.view.form.inherit</field> |
|||
<field name="model">res.config.settings</field> |
|||
<field name="priority" eval="55" /> |
|||
<field name="inherit_id" ref="base.res_config_settings_view_form" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//div[hasclass('settings')]" position="inside"> |
|||
<div |
|||
class="app_settings_block" |
|||
data-string="Mail Relocation" |
|||
string="Mail Relocation" |
|||
data-key="mail_move_message" |
|||
> |
|||
<h2>Mail Relocation</h2> |
|||
<div class="row mt16 o_settings_container"> |
|||
<div class="col-xs-12 col-md-6 o_setting_box" id="crm_lead"> |
|||
<div class="o_setting_left_pane"> |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="model_ids" /> |
|||
<div class="text-muted"> |
|||
Add models to be used for message relocation |
|||
</div> |
|||
<field name="model_ids" widget="many2many_tags" /> |
|||
</div> |
|||
</div> |
|||
<div class="col-xs-12 col-md-6 o_setting_box" id="crm_lead"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="move_followers" /> |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="move_followers" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
<record id="action_mail_move_message_config" model="ir.actions.act_window"> |
|||
<field name="name">Mail Relocation</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">res.config.settings</field> |
|||
<field name="view_id" ref="view_mail_move_message_config_settings" /> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">inline</field> |
|||
<field name="context">{'module' : 'mail_move_message'}</field> |
|||
</record> |
|||
</odoo> |
Before Width: 667 | Height: 446 | Size: 32 KiB |
Before Width: 1012 | Height: 546 | Size: 40 KiB |
Before Width: 1012 | Height: 546 | Size: 39 KiB |
Before Width: 890 | Height: 473 | Size: 73 KiB |
Before Width: 100 | Height: 100 | Size: 2.1 KiB |
Before Width: 667 | Height: 446 | Size: 32 KiB |
Before Width: 750 | Height: 400 | Size: 54 KiB |
@ -1,164 +0,0 @@ |
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2 class="oe_slogan">Mail Relocation</h2> |
|||
<h3 class="oe_slogan">Relocate customer's mails to a correct place (lead, task etc.)</h3> |
|||
</div> |
|||
<div class="oe_span12"> |
|||
<div class="alert alert-success" style="padding:0.6em 0.6em; font-size: 120%;"> |
|||
<p> |
|||
The module helps you to organise mails from customers. |
|||
</p> |
|||
<p> |
|||
If customer send mail to user's personal alias (e.g. admin@yourcompany.example.com), a user would be able to relocate such mail to corresponding record. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12 text-center"> |
|||
<h2>Usage</h2> |
|||
<p class="oe_mt32 text-center"> |
|||
Click on an icon of two cross arrows. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span12"> |
|||
<div class="oe_demo oe_picture oe_screenshot"> |
|||
<img src="inbox.png?3"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<p class="oe_mt32 text-center"> |
|||
Find a record you need and click on "Move" button. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span12"> |
|||
<div class="oe_demo oe_picture oe_screenshot"> |
|||
<img src="inbox-move.png?4"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<p class="oe_mt32 text-center"> |
|||
Done! You've attached mail and its child mails to the record. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span12"> |
|||
<div class="oe_demo oe_picture oe_screenshot"> |
|||
<img src="record1.png?3"/> |
|||
</div> |
|||
<p class="oe_mt32 text-center"> |
|||
Scroll down... Moved mails are marked by highlighted icon. |
|||
</p> |
|||
<div class="oe_demo oe_picture oe_screenshot"> |
|||
<img src="record2.png?4"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<p class="oe_mt32 text-center"> |
|||
You could easily return mails back if you change your mind. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span12"> |
|||
<div class="oe_demo oe_picture" style="margin-bottom: 4em;"> |
|||
<img src="record-move-back.png?1"/> |
|||
</div> |
|||
<p class="oe_mt32 text-center"> |
|||
Further information and discussion: <a href="https://yelizariev.github.io/odoo/module/2015/04/10/mail-relocation.html">https://yelizariev.github.io/odoo/module/2015/04/10/mail-relocation.html</a> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12 text-center"> |
|||
<h2>Tips and tricks</h2> |
|||
</div> |
|||
<div class="oe_span12"> |
|||
<p class="oe_mt32"> |
|||
The module can be used to delete a message (it's available for superuser only) |
|||
</p> |
|||
<div class="oe_demo oe_picture"> |
|||
<img src="delete-message.png"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<br/> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span8"> |
|||
<h2>Need our service?</h2> |
|||
<p class="oe_mt32">Contact us by <a href="mailto:apps@it-projects.info">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p> |
|||
<ul> |
|||
<li><a href="mailto:apps@it-projects.info">apps@it-projects.info <i class="fa fa-envelope-o"></i></a></li> |
|||
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li> |
|||
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li> |
|||
<li>skype@it-projects.info <i class="fa fa-skype"></i></li> |
|||
</ul> |
|||
</div> |
|||
<div class="oe_span4"> |
|||
<div class="stamp" style="width:200px;"> |
|||
<div style="margin-top: 15px; |
|||
position: relative; |
|||
font-family:'Vollkorn', serif; |
|||
font-size: 16px; |
|||
line-height: 25px; |
|||
text-transform: uppercase; |
|||
font-weight: bold; |
|||
color: #75526b; |
|||
border: 3px dashed #75526b; |
|||
float: left; |
|||
padding: 4px 12px; |
|||
-webkit-transform: rotate(6deg); |
|||
-o-transform: rotate(6deg); |
|||
-moz-transform: rotate(6deg); |
|||
-ms-transform: rotate(6deg);"> |
|||
Tested on Odoo<br/>11.0 community |
|||
</div> |
|||
<div style="margin-top: 15px; |
|||
position: relative; |
|||
font-family:'Vollkorn', serif; |
|||
font-size: 16px; |
|||
line-height: 25px; |
|||
text-transform: uppercase; |
|||
font-weight: bold; |
|||
color: #75526b; |
|||
border: 3px dashed #75526b; |
|||
float: left; |
|||
padding: 4px 12px; |
|||
-webkit-transform: rotate(-7deg); |
|||
-o-transform: rotate(-7deg); |
|||
-moz-transform: rotate(-7deg); |
|||
-ms-transform: rotate(-7deg);"> |
|||
Tested on Odoo<br/>11.0 enterprise |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
Before Width: 658 | Height: 465 | Size: 44 KiB |
Before Width: 1007 | Height: 537 | Size: 32 KiB |
Before Width: 750 | Height: 400 | Size: 29 KiB |
@ -1,21 +0,0 @@ |
|||
i.oe_moved { |
|||
color: #ed6f6a; |
|||
text-shadow: 0px 1px #961b1b, 0px -1px #961b1b, -1px 0px #961b1b, 1px 0px #961b1b, |
|||
0px 3px 3px rgba(0, 0, 0, 0.1); |
|||
} |
|||
.mail_move_message { |
|||
width: 864px; |
|||
} |
|||
|
|||
.o_mail_thread .o_thread_message i.oe_move { |
|||
cursor: pointer; |
|||
opacity: 0; |
|||
padding: 4px; |
|||
} |
|||
.o_mail_thread .o_thread_message:hover i.oe_move { |
|||
opacity: 0.6; |
|||
} |
|||
|
|||
.o_mail_thread .o_thread_message:hover i.oe_move:hover { |
|||
opacity: 1; |
|||
} |
@ -1,163 +0,0 @@ |
|||
/* eslint no-unused-vars: "off"*/ |
|||
|
|||
/* Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
|
|||
# Copyright 2016 Pavel Romanchenko |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr>
|
|||
# License MIT (https://opensource.org/licenses/MIT). */
|
|||
|
|||
odoo.define("mail_move_message.relocate", function(require) { |
|||
"use strict"; |
|||
|
|||
var chat_manager = require("mail_base.base").chat_manager; |
|||
var thread = require("mail.ChatThread"); |
|||
var chatter = require("mail.Chatter"); |
|||
var Basicmodel = require("web.BasicModel"); |
|||
var core = require("web.core"); |
|||
var FormController = require("web.FormController"); |
|||
var relational_fields = require("web.relational_fields"); |
|||
|
|||
var _t = core._t; |
|||
|
|||
thread.include({ |
|||
init: function() { |
|||
this._super.apply(this, arguments); |
|||
// Add click reaction in the events of the thread object
|
|||
this.events["click .oe_move"] = function(event) { |
|||
var message_id = $(event.currentTarget).data("message-id"); |
|||
this.trigger("move_message", message_id); |
|||
}; |
|||
}, |
|||
on_move_message: function(message_id) { |
|||
var action = { |
|||
name: _t("Relocate Message"), |
|||
type: "ir.actions.act_window", |
|||
res_model: "mail_move_message.wizard", |
|||
view_mode: "form", |
|||
view_type: "form", |
|||
views: [[false, "form"]], |
|||
target: "new", |
|||
context: {default_message_id: message_id}, |
|||
}; |
|||
this.do_action(action, { |
|||
on_close: function() { |
|||
// Empty
|
|||
}, |
|||
}); |
|||
}, |
|||
}); |
|||
|
|||
chatter.include({ |
|||
start: function() { |
|||
var result = this._super.apply(this, arguments); |
|||
// For show wizard in the form
|
|||
if (this.fields.thread && this.fields.thread.thread) { |
|||
thread = this.fields.thread.thread; |
|||
thread.on("move_message", this, thread.on_move_message); |
|||
} |
|||
return $.when(result).done(function() { |
|||
// Empty
|
|||
}); |
|||
}, |
|||
}); |
|||
|
|||
var ChatAction = core.action_registry.get("mail.chat.instant_messaging"); |
|||
ChatAction.include({ |
|||
start: function() { |
|||
var result = this._super.apply(this, arguments); |
|||
// For show wizard in the channels
|
|||
this.thread.on("move_message", this, this.thread.on_move_message); |
|||
return $.when(result).done(function() { |
|||
// Empty
|
|||
}); |
|||
}, |
|||
}); |
|||
|
|||
// Override methods of chat manager
|
|||
var chat_manager_super_make_message = chat_manager.make_message; |
|||
chat_manager.make_message = function(data) { |
|||
var msg = chat_manager_super_make_message(data); |
|||
// Mark msg as moved after reload
|
|||
msg.is_moved = data.is_moved || false; |
|||
return msg; |
|||
}; |
|||
var chat_manager_super_on_notification = chat_manager.on_notification; |
|||
chat_manager.on_notification = function(notifications) { |
|||
chat_manager_super_on_notification(notifications); |
|||
var self = this; |
|||
_.each(notifications, function(notification) { |
|||
var model = notification[0][1]; |
|||
var message_id = notification[1].id; |
|||
var message = chat_manager.get_message(message_id); |
|||
if (model === "mail_move_message" && message) { |
|||
message.res_id = notification[1].res_id; |
|||
message.model = notification[1].model; |
|||
message.record_name = notification[1].record_name; |
|||
// Mark message as moved after move
|
|||
message.is_moved = notification[1].is_moved; |
|||
// Update cache and accordingly message in the thread
|
|||
self.add_to_cache(message, []); |
|||
// Call thread.on_update_message(message)
|
|||
chat_manager.bus.trigger("update_message", message); |
|||
} else if (model === "mail_move_message.delete_message") { |
|||
_.each(message.channel_ids, function(ch) { |
|||
self.remove_message_from_channel(ch, message); |
|||
}); |
|||
chat_manager.bus.trigger("update_message", message); |
|||
} |
|||
}); |
|||
}; |
|||
|
|||
Basicmodel.include({ |
|||
applyDefaultValues: function(recordID, values, options) { |
|||
delete values.model; |
|||
return this._super(recordID, values, options); |
|||
}, |
|||
}); |
|||
|
|||
FormController.include({ |
|||
_onButtonClicked: function(event) { |
|||
if ( |
|||
event.data.attrs.special === "quick_create" && |
|||
event.data.attrs.field === "partner_id" |
|||
) { |
|||
var self = this; |
|||
var field_data = event.data.record.data; |
|||
// TODO: it seems like debugging, test without this code
|
|||
this.on_saved = function(record, bool) { |
|||
var values = [ |
|||
{ |
|||
id: record.res_id, |
|||
display_name: record.data.display_name, |
|||
}, |
|||
]; |
|||
}; |
|||
var wid = self.initialState.fieldsInfo.form.partner_id.Widget; |
|||
var relField = new relational_fields.FieldMany2One( |
|||
wid, |
|||
"partner_id", |
|||
self.initialState, |
|||
{ |
|||
mode: "edit", |
|||
viewType: "form", |
|||
} |
|||
); |
|||
relField.getParent = function() { |
|||
// Necessary for correct _trigger_up implementation in mixins.js
|
|||
return self; |
|||
}; |
|||
// TODO: it seems like debugging, test without this code
|
|||
var wizard_popup = relField._searchCreatePopup("form", false, { |
|||
message_name_from: |
|||
field_data.message_name_from && |
|||
field_data.message_name_from.split("@")[0], |
|||
message_email_from: field_data.message_email_from, |
|||
message_id: field_data.res_id, |
|||
mail_move_message: 1, |
|||
}); |
|||
} else { |
|||
this._super.apply(this, arguments); |
|||
} |
|||
}, |
|||
}); |
|||
}); |
@ -1,18 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!--# Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> |
|||
# Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev> |
|||
# Copyright 2016 Pavel Romanchenko |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT).--> |
|||
<template> |
|||
<t t-extend="mail.ChatThread.Message"> |
|||
<t t-jquery='p.o_mail_info span:last-child i:first-child' t-operation="before"> |
|||
<i |
|||
t-if="!message.is_system_notification" |
|||
t-att-class="'fa fa-exchange oe_move' + (message.is_moved ? ' oe_moved' : '')" |
|||
t-att-data-message-id="message.id" |
|||
title="Move to thread" |
|||
/> |
|||
</t> |
|||
</t> |
|||
</template> |
@ -1,2 +0,0 @@ |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
from . import test_mail_move |
@ -1,57 +0,0 @@ |
|||
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|||
# License MIT (https://opensource.org/licenses/MIT). |
|||
|
|||
import odoo.tests |
|||
from odoo.api import Environment |
|||
|
|||
|
|||
@odoo.tests.common.at_install(True) |
|||
@odoo.tests.common.post_install(True) |
|||
class TestUi(odoo.tests.HttpCase): |
|||
def test_create_new_partner_and_move_message(self): |
|||
env = Environment(self.registry.test_cr, self.uid, {}) |
|||
# needed because tests are run before the module is marked as |
|||
# installed. In js web will only load qweb coming from modules |
|||
# that are returned by the backend in module_boot. Without |
|||
# this you end up with js, css but no qweb. |
|||
env["ir.module.module"].search( |
|||
[("name", "=", "mail_move_message")], limit=1 |
|||
).state = "installed" |
|||
self.registry.cursor().release() |
|||
|
|||
# updating models, to be able relocate messages to a partner at_install |
|||
config_parameters = self.env["ir.config_parameter"].sudo() |
|||
config_parameters.set_param( |
|||
"mail_relocation_models", "crm.lead,project.task,res.partner" |
|||
) |
|||
|
|||
code = """ |
|||
var delayed_button_click = function(delay, button){ |
|||
setTimeout(function(){ |
|||
if (button.length) { |
|||
return button.click(); |
|||
} |
|||
return console.log('error', 'There is no element with the next selector: ' + button.selector); |
|||
}, delay); |
|||
}; |
|||
var delay = 1000; |
|||
var message = $('.o_thread_message_core:contains("virginie")'); |
|||
var relocate = message.find('.o_thread_icons .fa-exchange'); |
|||
delayed_button_click(delay, relocate); |
|||
// form is opened |
|||
|
|||
var create_partner_button = $('button[special="quick_create"]'); |
|||
delayed_button_click(delay, create_partner_button); |
|||
// partner creation wizard is opened |
|||
|
|||
var save_button = $('.modal-content .btn-primary:contains("Save")'); |
|||
delayed_button_click(delay, save_button); |
|||
|
|||
var move_button = $('.btn-sm.oe_highlight:contains("Move")'); |
|||
delayed_button_click(delay, move_button); |
|||
console.log('ok') |
|||
""" |
|||
|
|||
self.phantom_js( |
|||
"/web", code, login="admin", ready="$('.o_thread_icons').length" |
|||
) |
@ -1,31 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
=============== |
|||
Mail Recovery |
|||
=============== |
|||
|
|||
Backup and recover unsent message. It works via localStorage. |
|||
|
|||
TODO |
|||
==== |
|||
|
|||
* add support for *full mail composer* |
|||
|
|||
Questions? |
|||
========== |
|||
|
|||
To get an assistance on this module contact us by email :arrow_right: help@itpp.dev |
|||
|
|||
Contributors |
|||
============ |
|||
* Ildar Nasyrov <nasyrov@it-projects.info> |
|||
|
|||
Further information |
|||
=================== |
|||
|
|||
Odoo Apps Store: https://apps.odoo.com/apps/modules/9.0/mail_recovery/ |
|||
|
|||
|
|||
Tested on `Odoo 9.0 <https://github.com/odoo/odoo/commit/fd9eb2e4819031c6758c021f4c335b591367632d>`_ |
@ -1,16 +0,0 @@ |
|||
{ |
|||
"name": "Mail Recovery", |
|||
"summary": """Backup and recover unsent message""", |
|||
"author": "IT-Projects LLC, Ildar Nasyrov", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"price": 190.00, |
|||
"currency": "EUR", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://twitter.com/nasyrov_ildar", |
|||
"category": "Discuss", |
|||
"images": ["images/mail_recovery.png"], |
|||
"version": "12.0.1.0.0", |
|||
"depends": ["mail"], |
|||
"data": ["data.xml"], |
|||
"installable": False, |
|||
} |
@ -1,17 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<openerp> |
|||
<data> |
|||
<template |
|||
id="assets_backend" |
|||
name="message storage" |
|||
inherit_id="web.assets_backend" |
|||
> |
|||
<xpath expr="." position="inside"> |
|||
<script |
|||
type="text/javascript" |
|||
src="/mail_recovery/static/src/js/mail_recovery.js" |
|||
/> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</openerp> |
@ -1,7 +0,0 @@ |
|||
Updates |
|||
======= |
|||
|
|||
`1.0.0` |
|||
------- |
|||
|
|||
- Init version |
@ -1,11 +0,0 @@ |
|||
=============== |
|||
Mail recovery |
|||
=============== |
|||
|
|||
Usage |
|||
===== |
|||
|
|||
* Start typing new message |
|||
* Force close browser window or tab |
|||
* Click on message input |
|||
* The message is recovered |
Before Width: 750 | Height: 371 | Size: 384 KiB |
Before Width: 600 | Height: 299 | Size: 1.2 KiB |
Before Width: 600 | Height: 219 | Size: 38 KiB |
Before Width: 100 | Height: 100 | Size: 2.1 KiB |
@ -1,82 +0,0 @@ |
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2 class="oe_slogan">Mail recovery</h2> |
|||
<h3 class="oe_slogan">Backup and recover unsent message</h3> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span4"> |
|||
<p class="oe_mt32"> |
|||
Imagine that you are typing a message to someone. Probably a big message. |
|||
</p> |
|||
</div> |
|||
<div class="oe_span8"> |
|||
<div class="oe_row_img oe_centered"> |
|||
<img class="oe_demo oe_picture oe_screenshot" src="typing.png"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
|
|||
<div class="oe_span8"> |
|||
<div class="oe_row_img oe_centered"> |
|||
<img class="oe_demo oe_picture oe_screenshot" src="black.png"/> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="oe_span4"> |
|||
<p class="oe_mt32"> |
|||
And then something wrong happens. You close browser, electricity is turned off or whatever. |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container oe_dark"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span4"> |
|||
<p class="oe_mt32"> |
|||
Don't worry! Open browser again and click Reply icon. |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="oe_span8"> |
|||
<div class="oe_row_img oe_centered"> |
|||
<img class="oe_demo oe_picture oe_screenshot" src="reopen.png"/> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="oe_span4"> |
|||
<p class="oe_mt32"> |
|||
You can finish your message from point where it was interrupted. |
|||
</p> |
|||
</div> |
|||
<div class="oe_span8"> |
|||
<div class="oe_row_img oe_centered"> |
|||
<img class="oe_demo oe_picture oe_screenshot" src="continue.png"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2>Need our service?</h2> |
|||
<p class="oe_mt32">Contact us by <a href="mailto:apps@it-projects.info">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p> |
|||
<ul> |
|||
<li><a href="mailto:apps@it-projects.info">apps@it-projects.info <i class="fa fa-envelope-o"></i></a></li> |
|||
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li> |
|||
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li> |
|||
<li>skype@it-projects.info <i class="fa fa-skype"></i></li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</section> |
Before Width: 600 | Height: 240 | Size: 54 KiB |
Before Width: 600 | Height: 299 | Size: 48 KiB |
@ -1,25 +0,0 @@ |
|||
odoo.define("mail_recovery", function(require) { |
|||
"use strict"; |
|||
var composer = require("mail.composer"); |
|||
|
|||
composer.BasicComposer.include({ |
|||
init: function() { |
|||
this._super.apply(this, arguments); |
|||
this.events["focus .o_composer_input textarea"] = "on_focus_textarea"; |
|||
this.events["keyup .o_composer_input textarea"] = "on_keyup_textarea"; |
|||
}, |
|||
on_focus_textarea: function(event) { |
|||
var $input = $(event.target); |
|||
if (!$input.val()) { |
|||
$input.val(window.localStorage.message_storage); |
|||
} |
|||
}, |
|||
on_keyup_textarea: function(event) { |
|||
window.localStorage.message_storage = $(event.target).val(); |
|||
}, |
|||
send_message: function(event) { |
|||
window.localStorage.message_storage = ""; |
|||
return this._super(event); |
|||
}, |
|||
}); |
|||
}); |
@ -1,25 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
========================== |
|||
Always show reply button |
|||
========================== |
|||
|
|||
The module allows to reply to any message. Out-of-box odoo shows reply button for messages attached to some record. |
|||
|
|||
Questions? |
|||
========== |
|||
|
|||
To get an assistance on this module contact us by email :arrow_right: help@itpp.dev |
|||
|
|||
Contributors |
|||
============ |
|||
* Pavel Romanchenko <apps@it-projects.info> |
|||
|
|||
=================== |
|||
|
|||
Odoo Apps Store: https://apps.odoo.com/apps/modules/11.0/mail_reply/ |
|||
|
|||
|
|||
Tested on `Odoo 11.0 <https://github.com/odoo/odoo/commit/ecbf7aa4714479229658d14cce28fa00376ed390>`_ |
@ -1,20 +0,0 @@ |
|||
{ |
|||
"name": """Always show reply button""", |
|||
"summary": """Got a message out of a Record? Now you can reply to it too!""", |
|||
"category": "Discuss", |
|||
"images": [], |
|||
"version": "12.0.1.0.0", |
|||
"author": "IT-Projects LLC, Pavel Romanchenko", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://itpp.dev", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"price": 40.00, |
|||
"currency": "EUR", |
|||
"depends": ["mail_base"], |
|||
"external_dependencies": {"python": [], "bin": []}, |
|||
"data": ["templates.xml"], |
|||
"qweb": ["static/src/xml/reply_button.xml"], |
|||
"demo": [], |
|||
"installable": False, |
|||
"auto_install": False, |
|||
} |
@ -1,4 +0,0 @@ |
|||
`1.0.0` |
|||
------- |
|||
|
|||
- Init version |
@ -1,28 +0,0 @@ |
|||
=================== |
|||
Show reply button |
|||
=================== |
|||
|
|||
Installation |
|||
============ |
|||
|
|||
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way |
|||
|
|||
Configuration |
|||
============= |
|||
|
|||
This module does not require special configuration. |
|||
|
|||
Usage |
|||
===== |
|||
|
|||
* Open ``[[ Discuss ]]`` menu |
|||
* RESULT: you can see, that messages not attached to any record now have Reply button |
|||
* Note: messages from Channels (including Direct messages) don’t have this button. You need to open corresponding channel instead. |
|||
|
|||
* To easily know and navigate to corresponding channel, you need to get module `Show message recipients <https://apps.odoo.com/apps/modules/11.0/mail_to/>`__. |
|||
|
|||
* Note: to see just sent message use one of the following modules: |
|||
|
|||
* SentBox: https://apps.odoo.com/apps/modules/11.0/mail_sent/ |
|||
* Archive: https://apps.odoo.com/apps/modules/11.0/mail_archives/ |
|||
* All Messages: https://www.odoo.com/apps/modules/11.0/mail_all/ |
@ -1,26 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * mail_reply |
|||
# |
|||
# Translators: |
|||
# Randall Castro <rcastro@treintaycinco.com>, 2018 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-19 16:49+0000\n" |
|||
"PO-Revision-Date: 2017-12-19 16:49+0000\n" |
|||
"Last-Translator: Randall Castro <rcastro@treintaycinco.com>, 2018\n" |
|||
"Language-Team: Spanish (https://www.transifex.com/it-projects-llc/teams/76080/es/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: es\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: mail_reply |
|||
#. openerp-web |
|||
#: code:addons/mail_reply/static/src/xml/reply_button.xml:7 |
|||
#, python-format |
|||
msgid "Reply" |
|||
msgstr "Responder" |
Before Width: 100 | Height: 100 | Size: 2.1 KiB |
Before Width: 761 | Height: 400 | Size: 67 KiB |
@ -1,31 +0,0 @@ |
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2 class="oe_slogan">Always show reply button</h2> |
|||
<h3 class="oe_slogan">Got a message out of a Record? Now you can reply to it too!</h3> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_row_img oe_centered"> |
|||
<img class="oe_picture oe_screenshot" src="inbox.png"/> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row oe_spaced"> |
|||
<div class="oe_span12"> |
|||
<h2>Need our service?</h2> |
|||
<p class="oe_mt32">Contact us by <a href="mailto:apps@it-projects.info">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p> |
|||
<ul> |
|||
<li><a href="mailto:apps@it-projects.info">apps@it-projects.info <i class="fa fa-envelope-o"></i></a></li> |
|||
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li> |
|||
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li> |
|||
<li>skype@it-projects.info <i class="fa fa-skype"></i></li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</section> |
@ -1,51 +0,0 @@ |
|||
odoo.define("mail_reply.reply", function(require) { |
|||
"use strict"; |
|||
|
|||
var core = require("web.core"); |
|||
var chat_manager = require("mail_base.base").chat_manager; |
|||
|
|||
var ChatAction = core.action_registry.get("mail.chat.instant_messaging"); |
|||
|
|||
ChatAction.include({ |
|||
_selectMessage: function(message_id) { |
|||
this._super.apply(this, arguments); |
|||
var message = chat_manager.get_message(message_id); |
|||
var subject = ""; |
|||
if (message.record_name) { |
|||
subject = "Re: " + message.record_name; |
|||
} else if (message.subject) { |
|||
subject = "Re: " + message.subject; |
|||
} |
|||
this.extended_composer.set_subject(subject); |
|||
}, |
|||
|
|||
_onPostMessage: function(message) { |
|||
var self = this; |
|||
var options = this.selected_message ? {} : {channel_id: this.channel.id}; |
|||
if (this.selected_message) { |
|||
message.subtype = "mail.mt_comment"; |
|||
message.subtype_id = false; |
|||
message.message_type = "comment"; |
|||
message.content_subtype = "html"; |
|||
|
|||
options.model = this.selected_message.model; |
|||
options.res_id = this.selected_message.res_id; |
|||
options.parent_id = this.selected_message.id; |
|||
} |
|||
chat_manager.post_message(message, options).then(function() { |
|||
if (self.selected_message) { |
|||
self._renderSnackbar( |
|||
"mail.chat.MessageSentSnackbar", |
|||
{record_name: self.selected_message.record_name}, |
|||
5000 |
|||
); |
|||
self._unselectMessage(); |
|||
} else { |
|||
self.thread.scroll_to(); |
|||
} |
|||
}); |
|||
}, |
|||
}); |
|||
|
|||
return chat_manager; |
|||
}); |
@ -1,16 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<template> |
|||
<t t-extend="mail.ChatThread.Message"> |
|||
<t |
|||
t-jquery='i[class="fa fa-reply o_thread_icon o_thread_message_reply"]' |
|||
t-operation="replace" |
|||
> |
|||
<i |
|||
t-if="message.author_id != 'ODOOBOT' && message.model != 'mail.channel' && options.display_reply_icon" |
|||
class="fa fa-reply o_thread_icon o_thread_message_reply" |
|||
t-att-data-message-id="message.id" |
|||
title="Reply" |
|||
/> |
|||
</t> |
|||
</t> |
|||
</template> |
@ -1,17 +0,0 @@ |
|||
<?xml version="1.0" ?> |
|||
<openerp> |
|||
<data> |
|||
<template |
|||
id="mail_reply_assets_backend" |
|||
name="mail_reply_assets_backend" |
|||
inherit_id="web.assets_backend" |
|||
> |
|||
<xpath expr="." position="inside"> |
|||
<script |
|||
src="/mail_reply/static/src/js/mail_reply.js" |
|||
type="text/javascript" |
|||
/> |
|||
</xpath> |
|||
</template> |
|||
</data> |
|||
</openerp> |
@ -1 +0,0 @@ |
|||
from . import test_default |
@ -1,40 +0,0 @@ |
|||
import odoo.tests |
|||
|
|||
|
|||
@odoo.tests.common.at_install(False) |
|||
@odoo.tests.common.post_install(True) |
|||
class TestUi(odoo.tests.HttpCase): |
|||
def test_01_mail_all(self): |
|||
# wait till page loaded and then click and wait again |
|||
code = """ |
|||
setTimeout(function () { |
|||
var reply_button = $('.o_mail_info:not(:has(.o_document_link))').find(".fa.fa-reply.o_thread_icon.o_thread_message_reply"); |
|||
if (reply_button.length === 0) { |
|||
console.log('error'); |
|||
} |
|||
reply_button[0].click(); |
|||
|
|||
setTimeout(function () { |
|||
var send_button = $(".btn.btn-sm.btn-primary.o_composer_button_send.hidden-xs:visible"); |
|||
if (send_button.length === 0) { |
|||
console.log('error'); |
|||
} |
|||
$("textarea.o_input.o_composer_text_field")[1].value = 'test'; |
|||
send_button.click(); |
|||
|
|||
setTimeout(function () { |
|||
if ($(".alert.o_mail_snackbar:visible").length === 0) { |
|||
console.log('error'); |
|||
} else { |
|||
console.log('ok'); |
|||
} |
|||
}, 1000); |
|||
|
|||
}, 3000); |
|||
|
|||
}, 1000); |
|||
""" |
|||
link = "/web#action=%s" % self.ref("mail.mail_channel_action_client_chat") |
|||
self.phantom_js( |
|||
link, code, "odoo.__DEBUG__.services['mail_reply.reply']", login="admin" |
|||
) |
@ -1,10 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
Aggregate messages from company's contacts |
|||
========================================== |
|||
|
|||
By default, odoo displays under partner form only its own messages. The module shows under company form both their own messages and the messages of any contacts attached to that company. |
|||
|
|||
Tested on `Odoo 10.0 <https://github.com/odoo/odoo/commit/e8b0c1db69f04b0f8391d7ee4848ccf576018bf3>`_ |
@ -1 +0,0 @@ |
|||
from . import models |
@ -1,15 +0,0 @@ |
|||
{ |
|||
"name": "Aggregate messages from company's contacts", |
|||
"version": "12.0.1.0.0", |
|||
"author": "IT-Projects LLC, Ivan Yelizariev", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"price": 70.00, |
|||
"currency": "EUR", |
|||
"category": "Discuss", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://twitter.com/yelizariev", |
|||
"images": ["images/child.png", "images/parent.png"], |
|||
"depends": ["mail"], |
|||
"data": ["views.xml"], |
|||
"installable": False, |
|||
} |
@ -1,24 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * res_partner_company_messages |
|||
# |
|||
# Translators: |
|||
# Randall Castro <rcastro@treintaycinco.com>, 2018 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-19 16:49+0000\n" |
|||
"PO-Revision-Date: 2017-12-19 16:49+0000\n" |
|||
"Last-Translator: Randall Castro <rcastro@treintaycinco.com>, 2018\n" |
|||
"Language-Team: Spanish (https://www.transifex.com/it-projects-llc/teams/76080/es/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: es\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: res_partner_company_messages |
|||
#: model:ir.model,name:res_partner_company_messages.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Cliente" |
@ -1,24 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * res_partner_company_messages |
|||
# |
|||
# Translators: |
|||
# Lilya Salihova <liliya@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-07-17 20:20+0000\n" |
|||
"PO-Revision-Date: 2017-07-17 20:20+0000\n" |
|||
"Last-Translator: Lilya Salihova <liliya@it-projects.info>, 2017\n" |
|||
"Language-Team: Russian (https://www.transifex.com/it-projects-llc/teams/76080/ru/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: ru\n" |
|||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" |
|||
|
|||
#. module: res_partner_company_messages |
|||
#: model:ir.model,name:res_partner_company_messages.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Партнер" |
Before Width: 812 | Height: 588 | Size: 50 KiB |
Before Width: 811 | Height: 583 | Size: 67 KiB |
@ -1,20 +0,0 @@ |
|||
from odoo import api, models |
|||
|
|||
|
|||
class Partner(models.Model): |
|||
_inherit = "res.partner" |
|||
|
|||
@api.multi |
|||
def read(self, fields=None, load="_classic_read"): |
|||
res = super(Partner, self).read(fields=fields, load=load) |
|||
if fields and "message_ids" in fields: |
|||
for vals in res: |
|||
partner = self.browse(vals["id"]) |
|||
if not partner.is_company: |
|||
continue |
|||
domain = [ |
|||
("model", "=", "res.partner"), |
|||
("res_id", "in", [partner.id] + partner.child_ids.ids), |
|||
] |
|||
vals["message_ids"] = self.env["mail.message"].search(domain).ids |
|||
return res |
Before Width: 100 | Height: 100 | Size: 3.0 KiB |
@ -1,5 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<openerp> |
|||
<data> |
|||
</data> |
|||
</openerp> |
@ -1,20 +0,0 @@ |
|||
.. image:: https://itpp.dev/images/infinity-readme.png |
|||
:alt: Tested and maintained by IT Projects Labs |
|||
:target: https://itpp.dev |
|||
|
|||
Smart buttons for mails count |
|||
============================= |
|||
|
|||
This module adds Smart buttons with "Mails from" and "Mails to" count of mails in the partner form. |
|||
|
|||
Usage |
|||
----- |
|||
|
|||
You can see Smart buttons "Mails from" and "Mails to" in the contact form in the Messaging/Contacts menu. If you click on these buttons, you can see list of corresponded mails. Click on the "Send a message" link to send mail to the partner. |
|||
|
|||
Further information |
|||
------------------- |
|||
|
|||
Odoo Apps Store: https://apps.odoo.com/apps/modules/9.0/res_partner_mails_count/ |
|||
|
|||
Tested on `Odoo 9.0 <https://github.com/odoo/odoo/commit/b9f206953e3f877adf18643f154d1262842564ee>`_ |
@ -1 +0,0 @@ |
|||
from . import models |
@ -1,22 +0,0 @@ |
|||
{ |
|||
"name": """Partner mails count""", |
|||
"summary": """Displays amount of incoming and outgoing partner mails.""", |
|||
"category": "Discuss", |
|||
"images": ["images/1.png"], |
|||
"version": "12.0.1.0.0", |
|||
"author": "IT-Projects LLC, Pavel Romanchenko", |
|||
"support": "apps@itpp.dev", |
|||
"website": "https://itpp.dev", |
|||
"license": "Other OSI approved licence", # MIT |
|||
"price": 30.00, |
|||
"currency": "EUR", |
|||
"depends": [ |
|||
"mail_all", |
|||
# 'web_tour_extra', |
|||
], |
|||
"external_dependencies": {"python": [], "bin": []}, |
|||
"data": ["views/res_partner_mails_count.xml", "templates.xml"], |
|||
"demo": [], |
|||
"installable": False, |
|||
"auto_install": False, |
|||
} |
@ -1,126 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * res_partner_mails_count |
|||
# |
|||
# Translators: |
|||
# Randall Castro <rcastro@treintaycinco.com>, 2018 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-12-19 16:49+0000\n" |
|||
"PO-Revision-Date: 2017-12-19 16:49+0000\n" |
|||
"Last-Translator: Randall Castro <rcastro@treintaycinco.com>, 2018\n" |
|||
"Language-Team: Spanish (https://www.transifex.com/it-projects-llc/teams/76080/es/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: es\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:31 |
|||
#, python-format |
|||
msgid "Close Tutorial" |
|||
msgstr "Cerrar Tutorial" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:25 |
|||
#, python-format |
|||
msgid "Done" |
|||
msgstr "Realizado" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:20 |
|||
#, python-format |
|||
msgid "Here is new fields with mails counters. Press one of it." |
|||
msgstr "" |
|||
"Aquí hay nuevos campos con contadores de correos. Presione uno de ellos." |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:15 |
|||
#, python-format |
|||
msgid "Let's see how mails count work." |
|||
msgstr "Veamos cómo funcionan los correos electrónicos." |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.client,name:res_partner_mails_count.action_mails |
|||
msgid "Mails" |
|||
msgstr "Correos" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:9 |
|||
#, python-format |
|||
msgid "Mails count Tour" |
|||
msgstr "Contador de correos Tour" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:14 |
|||
#, python-format |
|||
msgid "Mails count tutorial" |
|||
msgstr "Tutorial de contador de correos" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_partner_mails_from |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_users_mails_from |
|||
#: model:ir.ui.view,arch_db:res_partner_mails_count.view_res_partner_mails_count_info_form |
|||
msgid "Mails from" |
|||
msgstr "Mensajes de" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.client,help:res_partner_mails_count.action_mails |
|||
msgid "Mails not found. Probably, they exist, but you don't have access." |
|||
msgstr "Correos no encontrados. Probablemente existen, pero no tienes acceso." |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_partner_mails_to |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_users_mails_to |
|||
#: model:ir.ui.view,arch_db:res_partner_mails_count.view_res_partner_mails_count_info_form |
|||
msgid "Mails to" |
|||
msgstr "Correos para" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:30 |
|||
#, python-format |
|||
msgid "" |
|||
"Message are found. <br/>Enjoy your day! <br/> <br/><a href='https://www.it-" |
|||
"projects.info/apps' target='_blank'>IT-Projects LLC</a> team " |
|||
msgstr "" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:19 |
|||
#, python-format |
|||
msgid "New fields" |
|||
msgstr "Nuevos campos" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model,name:res_partner_mails_count.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Cliente" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:16 |
|||
#, python-format |
|||
msgid "Skip" |
|||
msgstr "Saltar" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:16 |
|||
#, python-format |
|||
msgid "Start Tutorial" |
|||
msgstr "Iniciar Tutorial" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.act_url,name:res_partner_mails_count.res_partner_mails_count_tutorial |
|||
msgid "res_partner_mails_count Tutorial" |
|||
msgstr "Tutorial res_partner_mails_count" |
@ -1,127 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * res_partner_mails_count |
|||
# |
|||
# Translators: |
|||
# Lilya Salihova <liliya@it-projects.info>, 2017 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 10.0\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-07-17 20:20+0000\n" |
|||
"PO-Revision-Date: 2017-07-17 20:20+0000\n" |
|||
"Last-Translator: Lilya Salihova <liliya@it-projects.info>, 2017\n" |
|||
"Language-Team: Russian (https://www.transifex.com/it-projects-llc/teams/76080/ru/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: ru\n" |
|||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:31 |
|||
#, python-format |
|||
msgid "Close Tutorial" |
|||
msgstr "Закройте инструкцию" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:25 |
|||
#, python-format |
|||
msgid "Done" |
|||
msgstr "Готово" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:20 |
|||
#, python-format |
|||
msgid "Here is new fields with mails counters. Press one of it." |
|||
msgstr "Здесь новые поля с счетчиками писем. Нажмите на один из них." |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:15 |
|||
#, python-format |
|||
msgid "Let's see how mails count work." |
|||
msgstr "Посмотрим как работает счетчик писем" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.client,name:res_partner_mails_count.action_mails |
|||
msgid "Mails" |
|||
msgstr "Письма" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:9 |
|||
#, python-format |
|||
msgid "Mails count Tour" |
|||
msgstr "Руководство по модулю \"Mails count\"" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:14 |
|||
#, python-format |
|||
msgid "Mails count tutorial" |
|||
msgstr "Инструкция по счетчику писем" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_partner_mails_from |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_users_mails_from |
|||
#: model:ir.ui.view,arch_db:res_partner_mails_count.view_res_partner_mails_count_info_form |
|||
msgid "Mails from" |
|||
msgstr "Входящие" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.client,help:res_partner_mails_count.action_mails |
|||
msgid "Mails not found. Probably, they exist, but you don't have access." |
|||
msgstr "Письма не найдены. Возможно, они есть, но у вас нет к ним доступа." |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_partner_mails_to |
|||
#: model:ir.model.fields,field_description:res_partner_mails_count.field_res_users_mails_to |
|||
#: model:ir.ui.view,arch_db:res_partner_mails_count.view_res_partner_mails_count_info_form |
|||
msgid "Mails to" |
|||
msgstr "Исходящие" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:30 |
|||
#, python-format |
|||
msgid "" |
|||
"Message are found. <br/>Enjoy your day! <br/> <br/><a href='https://www.it-" |
|||
"projects.info/apps' target='_blank'>IT-Projects LLC</a> team " |
|||
msgstr "" |
|||
"Письма найдены. <br/> Хорошего дня! <br/><br/><a href='https://www.it-" |
|||
"projects.info/apps' target='_blank'>IT-Projects LLC</a> team " |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:19 |
|||
#, python-format |
|||
msgid "New fields" |
|||
msgstr "Новые поля" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.model,name:res_partner_mails_count.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Партнер" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:16 |
|||
#, python-format |
|||
msgid "Skip" |
|||
msgstr "Пропустить" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#. openerp-web |
|||
#: code:addons/res_partner_mails_count/static/src/js/res_partner_mails_count_tour.js:16 |
|||
#, python-format |
|||
msgid "Start Tutorial" |
|||
msgstr "Начать обучение" |
|||
|
|||
#. module: res_partner_mails_count |
|||
#: model:ir.actions.act_url,name:res_partner_mails_count.res_partner_mails_count_tutorial |
|||
msgid "res_partner_mails_count Tutorial" |
|||
msgstr "res_partner_mails_count Руководство" |
Before Width: 1128 | Height: 528 | Size: 92 KiB |
@ -1,23 +0,0 @@ |
|||
from odoo import api, fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
_inherit = "res.partner" |
|||
mails_to = fields.Integer(compute="_compute_mails_to") |
|||
mails_from = fields.Integer(compute="_compute_mails_from") |
|||
|
|||
@api.multi |
|||
def _compute_mails_to(self): |
|||
for r in self: |
|||
r.mails_to = ( |
|||
self.env["mail.message"] |
|||
.sudo() |
|||
.search_count([("partner_ids", "in", r.id)]) |
|||
) |
|||
|
|||
@api.multi |
|||
def _compute_mails_from(self): |
|||
for r in self: |
|||
r.mails_from = ( |
|||
self.env["mail.message"].sudo().search_count([("author_id", "=", r.id)]) |
|||
) |
Before Width: 1128 | Height: 528 | Size: 66 KiB |
Before Width: 1128 | Height: 528 | Size: 63 KiB |
Before Width: 1128 | Height: 528 | Size: 46 KiB |