diff options
| author | Ravish (Open ERP) <rmu@tinyerp.com> | 2013-05-16 10:44:37 +0530 |
|---|---|---|
| committer | Ravish (Open ERP) <rmu@tinyerp.com> | 2013-05-16 10:44:37 +0530 |
| commit | fa9f18359fccc836a460736d2d07fe9b9ba0463a (patch) | |
| tree | 24f77e99fd00eee9f8ed833b4ad45aee22f628a7 /addons/plugin | |
| parent | dd81c8f9c340ed78db09f3c9c0b273ad86faa056 (diff) | |
| parent | 1bb278384c4a3e6053a8f9072f4515d2e42d0455 (diff) | |
[merge] with lateset 7.0
bzr revid: rmu@tinyerp.com-20130516051437-1bdcjgxey3efpw31
Diffstat (limited to 'addons/plugin')
| -rw-r--r-- | addons/plugin/i18n/lt.po | 23 | ||||
| -rw-r--r-- | addons/plugin/plugin_handler.py | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/addons/plugin/i18n/lt.po b/addons/plugin/i18n/lt.po new file mode 100644 index 00000000000..5132c60d58c --- /dev/null +++ b/addons/plugin/i18n/lt.po @@ -0,0 +1,23 @@ +# Lithuanian translation for openobject-addons +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-03-07 08:38+0000\n" +"PO-Revision-Date: 2013-04-24 18:14+0000\n" +"Last-Translator: Giedrius Slavinskas - inovera.lt <giedrius@inovera.lt>\n" +"Language-Team: Lithuanian <lt@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-04-25 06:06+0000\n" +"X-Generator: Launchpad (build 16580)\n" + +#. module: plugin +#: model:ir.model,name:plugin.model_plugin_handler +msgid "plugin.handler" +msgstr "plugin.handler" diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py index f13fc255a6d..aa389611a57 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -110,7 +110,7 @@ class plugin_handler(osv.osv_memory): model_obj.message_post(cr, uid, [res_id], body=msg.get('body'), subject=msg.get('subject'), - type='email', + type='comment' if model == 'res.partner' else 'email', parent_id=msg.get('parent_id'), attachments=msg.get('attachments')) notify = _("Mail successfully pushed") |
