Merge PR #2800 into 16.0

Signed-off-by gurneyalex
pull/2944/head
OCA-git-bot 2024-05-15 09:22:26 +00:00
commit e838e4f9f2
33 changed files with 5677 additions and 0 deletions

View File

@ -0,0 +1,146 @@
=======================
Email gateway - folders
=======================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c6afe0f3176202f575e0bfd827acadf557acced4a2dccdb2a55dafc0337abc87
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/16.0/fetchmail_attach_from_folder
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-fetchmail_attach_from_folder
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
Adds the possibility to attach emails from a certain IMAP folder to
objects, ie partners. Matching is done via several algorithms, ie email
address, email address's domain or the original Odoo algorithm.
This gives a simple possibility to archive emails in Odoo without a mail
client integration.
**Table of contents**
.. contents::
:local:
Configuration
=============
In your fetchmail configuration, you'll find a new list field
``Folders to monitor``. Add your folders here in IMAP notation (usually
something like ``INBOX.your_folder_name.your_subfolder_name``), choose a
model to attach mails to and a matching algorithm to use.
Exact mailaddress
-----------------
Fill in a field to search for the email address in ``Field (model)``.
For partners, this would be ``email``. Also fill in the header field
from the email to look at in ``Field (email)``. If you want to match
incoming mails from your customers, this would be ``from``. You can also
list header fields, so to match partners receiving this email, you might
fill in ``to,cc,bcc``.
Domain of email addresses
-------------------------
Match the domain of the email address(es) found in ``Field (email)``.
This would attach a mail to ``test1@example.com`` to a record with
``Field (model)`` set to ``test2@example.com``. Given that this is a
fuzzy match, you probably want to check ``Use 1st match``, because
otherwise nothing happens if multiple possible matches are found.
Odoo standard
-------------
This is stricly speaking no matching algorithm, but calls the model's
standard action on new incoming mail, which is usually creating a new
record.
Usage
=====
A widespread configuration is to have a shared mailbox with several
folders, i.e. one where users drop mails they want to attach to
partners. Let this folder be called ``From partners``. Then create a
folder configuration for your server with path ``"INBOX.From partners"``
(note the quotes because of the space, this is server dependent). Choose
model ``Partners``, set ``Field (model)`` to ``email`` and
``Field (email)`` to ``from``. In ``Domain``, you could fill in
``[('customer', '=', True)]`` to be sure to only match customer records.
Now when your users drop mails into this folder, they will be fetched by
Odoo and attached to the partner in question. After some testing, you
might want to check ``Delete matches`` in your folder configuration so
that this folder doesn't grow indefinitely.
Another way to prevent having to process ever more messages from the
folder to read is to automatically move all processed messages to an
archive folder that can be specified.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20fetchmail_attach_from_folder%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
-------
* Therp BV
Contributors
------------
- Holger Brunn hbrunn@therp.nl
- Ronald Portier ronald@therp.nl
- Alexandre Fayolle alexandre.fayolle@camptocamp.com
Maintainers
-----------
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
.. |maintainer-NL66278| image:: https://github.com/NL66278.png?size=40px
:target: https://github.com/NL66278
:alt: NL66278
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-NL66278|
This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/16.0/fetchmail_attach_from_folder>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -0,0 +1,5 @@
# Copyright - 2013-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import match_algorithm
from . import models
from . import wizard

View File

@ -0,0 +1,20 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Email gateway - folders",
"summary": "Attach mails in an IMAP folder to existing objects",
"version": "16.0.1.1.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"maintainers": ["NL66278"],
"website": "https://github.com/OCA/server-tools",
"license": "AGPL-3",
"category": "Tools",
"depends": ["mail"],
"data": [
"views/fetchmail_server.xml",
"wizard/attach_mail_manually.xml",
"security/ir.model.access.csv",
],
"installable": True,
"auto_install": False,
}

View File

@ -0,0 +1,446 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 13:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr "Erstellt von"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr "Erstellt am:"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr "ID"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
#, fuzzy
msgid "Last Modified on"
msgstr "Zuletzt aktualisiert am"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr "Zuletzt aktualisiert von"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modell"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objekt"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,446 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 13:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr "Cancelar"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr "Creado por"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr "Creado en"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr "ID"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
#, fuzzy
msgid "Last Modified on"
msgstr "Última actualización en"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr "Última actualización de"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modelo"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objeto"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr "o"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,431 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \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: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Check this field to leave imap inbox alone and only retrieve mail from configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "If there are multiple matches, use the first one. If not checked, multiple matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
msgid "Last Modified on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "The path to your mail folder. Typically would be something like 'INBOX.myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,446 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 13:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr "Créé par"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr "Date"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr "Domaine"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr "ID"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
#, fuzzy
msgid "Last Modified on"
msgstr "Dernière mise à jour le"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr "Dernière mise à jour par"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr "Dernière mise à jour le"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modèle"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objet"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,445 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 13:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-server-"
"tools-8-0/language/fr_CA/)\n"
"Language: fr_CA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
msgid "Last Modified on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modèle"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objet"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,446 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2023-11-30 16:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr "Dominio"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
msgid "Last Modified on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modello"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,462 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
# Armando Vulcano Junior <vulcano@uol.com.br>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 22:09+0000\n"
"Last-Translator: Armando Vulcano Junior <vulcano@uol.com.br>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-"
"tools-8-0/language/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr "Ativo"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, fuzzy, python-format
msgid "Attach emails manually"
msgstr "Anexar mail manualmente"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr "Anexar mail manualmente"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr "Cancelar"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr "Criado por"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr "Criado em"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr "Data"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr "Excluir emails correspondentes do servidor"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr "Excluir correspondentes"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr "Domínio"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr "Emails"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr "Campo (email)"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr "Campo (modelo)"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr "Campo(s) para classificar, muito útil em conjunção com 'Use 1st match'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr "Preencha um filtro de pesquisa para diminuir os objetos para combinar"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
"E-mails assinalados no servidor que não correspondem a qualquer objeto em "
"Odoo"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr "Sinal sem correspondente"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr "Pasta"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr "Pastas"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr "Pastas para monitorar"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr "Identificação"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr "INBOX.subpasta1"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
"Se há multiplas combinações, use a primeira. Se não verificado, múltiplas "
"combinações contam como nenhuma combinação"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
#, fuzzy
msgid "Last Modified on"
msgstr "Última atualização em"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr "Última atualização por"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr "Última atualização em"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr "Anexo de Email"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr "Algoritmo correspondente"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr "Identificação da mensagem"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr "Estado da mensagem"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Modelo"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objeto"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr "Pedido (modelo)"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr "Servidor POP/IMAP"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr "Caminho"
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr "Recebido"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr "Salvar"
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr "Enviado"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr "Sequência"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr "Servidor"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr "Título"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr "O algoritmo usado para determinar qual objeto combina com o email."
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr "O campo no email usado para combinação. Tipicamente é 'to' ou 'from'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr "O modelo para anexar emails ao"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
"O caminho para sua pasta de mail. Tipicamente seria alguma coisa como 'INBOX."
"myfolder'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
"As mensagens de estado trazidas desta pasta devem ser atribuídas no Odoo"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr "Use a 1a combinação"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr "Identificação do assistente"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr "[('state', '=', 'open')]"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr "email"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
#, fuzzy
msgid "fetchmail.attach.mail.manually"
msgstr "Anexar mail manualmente"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
#, fuzzy
msgid "fetchmail.attach.mail.manually.mail"
msgstr "Anexar mail manualmente"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr "nome asc, tipo desc"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr "ou"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr "para,de"
#~ msgid "Mailbox %s not found!"
#~ msgstr "Caixa de entrada %s não encontrada!"
#~ msgid "{'required': [('type', '!=', 'imap')]}"
#~ msgstr "{'required': [('type', '!=', 'imap')]}"

View File

@ -0,0 +1,447 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-18 13:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/ru/)\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \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: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, python-format
msgid "Attach emails manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr "Домен"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
msgid "Last Modified on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Модель"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
msgid "fetchmail.attach.mail.manually"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
msgid "fetchmail.attach.mail.manually.mail"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr ""

View File

@ -0,0 +1,469 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fetchmail_attach_from_folder
#
# Translators:
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015
msgid ""
msgstr ""
"Project-Id-Version: server-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-29 11:14+0000\n"
"PO-Revision-Date: 2015-09-26 07:28+0000\n"
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/"
"language/sl/)\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active
msgid "Active"
msgstr "Aktivno"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35
#, fuzzy, python-format
msgid "Attach emails manually"
msgstr "Ročno pripenjanje e-pošte"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Attach mail manually"
msgstr "Ročno pripenjanje e-pošte"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available
msgid "Available folders"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body
msgid "Body"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Cancel"
msgstr "Preklic"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid ""
"Check this field to leave imap inbox alone and only retrieve mail from "
"configured folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34
#, python-format
msgid "Confirm connection first."
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160
#, python-format
msgid "Could not fetch %s in %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140
#, python-format
msgid "Could not open mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145
#, python-format
msgid "Could not search mailbox %s on %s"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid
msgid "Created by"
msgstr "Ustvaril"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date
msgid "Created on"
msgstr "Ustvarjeno"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date
msgid "Date"
msgstr "Datum"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matched emails from server"
msgstr "Izbris ujemajočih se e-poštnih sporočil iz strežnika"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching
msgid "Delete matches"
msgstr "Izbris ujemajočih"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name
msgid "Display Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Domain"
msgstr "Domena"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids
msgid "Emails"
msgstr "E-poštna sporočila"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Fetch folder now"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid "Field (email)"
msgstr "Polje (e-pošta)"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid "Field (model)"
msgstr "Polje (model)"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid ""
"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'"
msgstr ""
"Polje(a) za razvrščanje. Uporabljajo se večinoma v sklopu 'Uporabi 1. "
"ujemanje'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain
msgid "Fill in a search filter to narrow down objects to match"
msgstr "Izpolni iskalni filter za zožitev ujemajočih se objektov"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag emails in the server that don't match any object in Odoo"
msgstr ""
"Označi e-poštna sporočila na strežniku, ki se ne ujemajo z nobenim objektom "
"v Odoo"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching
msgid "Flag nonmatching"
msgstr "Označi ne ujemajoča"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id
msgid "Folder"
msgstr "Mapa"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids
msgid "Folders"
msgstr "Mape"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders available on server"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Folders to monitor"
msgstr "Mape za nadziranje"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from
msgid "From"
msgstr ""
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202
#, python-format
msgid "General failure when trying to connect to %s server %s."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id
msgid "ID"
msgstr "ID"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "INBOX.subfolder1"
msgstr "INBOX.podmapa1"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid ""
"If there are multiple matches, use the first one. If not checked, multiple "
"matches count as no match at all"
msgstr ""
"Ko je več ujemajočih se sporočil, uporabi prvo. Če ni označeno, se več "
"ujemajočih se sporočil smatra kot, da sploh ni ujemajočih se sporočil"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111
#, python-format
msgid "Invalid folder %s!"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update
#, fuzzy
msgid "Last Modified on"
msgstr "Zadnjič posodobljeno"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid
msgid "Last Updated by"
msgstr "Zadnjič posodobil"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date
msgid "Last Updated on"
msgstr "Zadnjič posodobljeno"
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263
#, python-format
msgid "Mail attachment"
msgstr "E-poštna priponka"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "Match algorithm"
msgstr "Algoritem ujemanja"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid
msgid "Message id"
msgstr "ID sporočila"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "Message state"
msgstr "Stanje sporočila"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "Model"
msgstr "Model"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name
msgid "Name"
msgstr ""
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,state:0
msgid "Not Confirmed"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id
msgid "Object"
msgstr "Objekt"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only
msgid "Only folders, not inbox"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order
msgid "Order (model)"
msgstr "Vrstni red (model)"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server
msgid "POP/IMAP Server"
msgstr "POP/IMAP strežnik"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid "Path"
msgstr "Pot"
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Received"
msgstr "Prejeto"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Reset Confirmation"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "Save"
msgstr "Shrani"
#. module: fetchmail_attach_from_folder
#: selection:fetchmail.server.folder,msg_state:0
msgid "Sent"
msgstr "Poslano"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence
msgid "Sequence"
msgstr "Zaporedje"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id
msgid "Server"
msgstr "Strežnik"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state
msgid "Status"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject
msgid "Subject"
msgstr "Zadeva"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "Test & Confirm"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm
msgid "The algorithm used to determine which object an email matches."
msgstr ""
"Algoritem, ki se uporablja za določanje objekta, ki mu e-pošta priprada."
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field
msgid ""
"The field in the email used for matching. Typically this is 'to' or 'from'"
msgstr ""
"Polje v e-poštnem sporočilu, ki se uporablja za primerjavo. Tipično je to "
"'za' ali 'od'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field
msgid ""
"The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or 'partner_id.email' if you're "
"matching sale orders"
msgstr ""
"Polje modela, ki vsebuje polje za ujemanje.\n"
"Primeri:\n"
"'e-pošta' če je model res.partner ali 'partner_id.email', če ujemate "
"prodajne naloge"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id
msgid "The model to attach emails to"
msgstr "Model, ki mu pripenjamo e-pošto"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path
msgid ""
"The path to your mail folder. Typically would be something like 'INBOX."
"myfolder'"
msgstr "Pot do e-poštne mape. Običajno je to nekaj kot 'INBOX.mojamapa'"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state
msgid "The state messages fetched from this folder should be assigned in Odoo"
msgstr "Stanje, ki se dodeli sporočilom prenesenim iz te mape."
#. module: fetchmail_attach_from_folder
#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39
#, python-format
msgid "Unable to retrieve folders."
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first
msgid "Use 1st match"
msgstr "Uporabi 1. ujemanje"
#. module: fetchmail_attach_from_folder
#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id
msgid "Wizard id"
msgstr "ID čarovnika"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "[('state', '=', 'open')]"
msgstr "[('state', '=', 'open')]"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "email"
msgstr "e-pošta"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually
#, fuzzy
msgid "fetchmail.attach.mail.manually"
msgstr "Ročno pripenjanje e-pošte"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail
#, fuzzy
msgid "fetchmail.attach.mail.manually.mail"
msgstr "Ročno pripenjanje e-pošte"
#. module: fetchmail_attach_from_folder
#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder
msgid "fetchmail.server.folder"
msgstr ""
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "name asc,type desc"
msgstr "name asc,type desc"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually
msgid "or"
msgstr "ali"
#. module: fetchmail_attach_from_folder
#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form
msgid "to,from"
msgstr "to,from"
#~ msgid "Mailbox %s not found!"
#~ msgstr "Poštni predal %s ni najden!"
#~ msgid "{'required': [('type', '!=', 'imap')]}"
#~ msgstr "{'required': [('type', '!=', 'imap')]}"

View File

@ -0,0 +1,4 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import email_exact
from . import email_domain

View File

@ -0,0 +1,29 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from .email_exact import EmailExact
class EmailDomain(EmailExact):
"""Search objects by domain name of email address.
Beware of match_first here, this is most likely to get it wrong (gmail).
"""
def search_matches(self, folder, message_dict):
"""Returns recordset of matching objects."""
matches = super().search_matches(folder, message_dict)
if not matches:
object_model = folder.env[folder.model_id.model]
domains = []
for addr in self._get_mailaddresses(folder, message_dict):
domains.append(addr.split("@")[-1])
matches = object_model.search(
self._get_mailaddress_search_domain(
folder,
message_dict,
operator="like",
values=["%@" + domain for domain in set(domains)],
),
order=folder.model_order,
)
return matches

View File

@ -0,0 +1,35 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tools.mail import email_split
from odoo.tools.safe_eval import safe_eval
class EmailExact:
"""Search for exactly the mailadress as noted in the email"""
def _get_mailaddresses(self, folder, message_dict):
mailaddresses = []
fields = folder.mail_field.split(",")
for field in fields:
if field in message_dict:
mailaddresses += email_split(message_dict[field])
return [addr.lower() for addr in mailaddresses]
def _get_mailaddress_search_domain(
self, folder, message_dict, operator="=", values=None
):
mailaddresses = values or self._get_mailaddresses(folder, message_dict)
if not mailaddresses:
return [(0, "=", 1)]
search_domain = (
(["|"] * (len(mailaddresses) - 1))
+ [(folder.model_field, operator, addr) for addr in mailaddresses]
+ safe_eval(folder.domain or "[]")
)
return search_domain
def search_matches(self, folder, message_dict):
"""Returns recordset of matching objects."""
object_model = folder.env[folder.model_id.model]
search_domain = self._get_mailaddress_search_domain(folder, message_dict)
return object_model.search(search_domain, order=folder.model_order)

View File

@ -0,0 +1,4 @@
# Copyright - 2013-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import fetchmail_server
from . import fetchmail_server_folder

View File

@ -0,0 +1,74 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging
import re
from odoo import _, api, fields, models
_logger = logging.getLogger(__name__)
list_response_pattern = re.compile(
r'\((?P<flags>.*?)\) "(?P<delimiter>.*)" (?P<name>.*)'
)
class FetchmailServer(models.Model):
_inherit = "fetchmail.server"
def _compute_folders_available(self):
"""Retrieve available folders from IMAP server."""
def parse_list_response(line):
string_line = line.decode("utf-8")
flags, delimiter, mailbox_name = list_response_pattern.match(
string_line
).groups()
mailbox_name = mailbox_name.strip('"')
return (flags, delimiter, mailbox_name)
for this in self:
if this.state != "done":
this.folders_available = _("Confirm connection first.")
continue
connection = this.connect()
list_result = connection.list()
if list_result[0] != "OK":
this.folders_available = _("Unable to retrieve folders.")
continue
folders_available = []
for folder_entry in list_result[1]:
folders_available.append(parse_list_response(folder_entry)[2])
this.folders_available = "\n".join(folders_available)
connection.logout()
folders_available = fields.Text(
string="Available folders", compute="_compute_folders_available", readonly=True
)
folder_ids = fields.One2many(
comodel_name="fetchmail.server.folder",
inverse_name="server_id",
string="Folders",
context={"active_test": False},
)
folders_only = fields.Boolean(
string="Only folders, not inbox",
help="Check this field to leave imap inbox alone"
" and only retrieve mail from configured folders.",
)
# Below existing fields, that are modified by this module.
object_id = fields.Many2one(required=False) # comodel_name='ir.model'
server_type = fields.Selection(default="imap")
@api.onchange("server_type", "is_ssl", "object_id")
def onchange_server_type(self):
result = super().onchange_server_type()
self.state = "draft"
return result
def fetch_mail(self):
result = True
for this in self:
if not this.folders_only:
result = result and super(FetchmailServer, this).fetch_mail()
this.folder_ids.fetch_mail()
return result

View File

@ -0,0 +1,378 @@
# Copyright - 2013-2024 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import email
import email.policy
import logging
from xmlrpc import client as xmlrpclib
from odoo import _, api, fields, models
from odoo.exceptions import UserError, ValidationError
from .. import match_algorithm
_logger = logging.getLogger(__name__)
class FetchmailServerFolder(models.Model):
"""Define folders (IMAP mailboxes) from which to fetch mail."""
_name = "fetchmail.server.folder"
_description = __doc__
_rec_name = "path"
_order = "sequence"
server_id = fields.Many2one("fetchmail.server")
sequence = fields.Integer()
state = fields.Selection(
[("draft", "Not Confirmed"), ("done", "Confirmed")],
string="Status",
readonly=True,
required=True,
copy=False,
default="draft",
)
path = fields.Char(
required=True,
help="The path to your mail folder."
" Typically would be something like 'INBOX.myfolder'",
)
archive_path = fields.Char(
help="The path where successfully retrieved messages will be stored."
)
model_id = fields.Many2one(
comodel_name="ir.model",
required=True,
ondelete="cascade",
help="The model to attach emails to",
)
model_field = fields.Char(
"Field (model)",
help="The field in your model that contains the field to match against.\n"
"Examples:\n"
"'email' if your model is res.partner, or "
"'partner_id.email' if you're matching sale orders",
)
model_order = fields.Char(
"Order (model)",
help="Field(s) to order by, this mostly useful in conjunction "
"with 'Use 1st match'",
)
match_algorithm = fields.Selection(
selection=[
("odoo_standard", "Odoo standard"),
("email_domain", "Domain of email address"),
("email_exact", "Exact mailadress"),
],
required=True,
help="The algorithm used to determine which object an email matches.",
)
mail_field = fields.Char(
"Field (email)",
help="The field in the email used for matching."
" Typically this is 'to' or 'from'",
)
delete_matching = fields.Boolean(
"Delete matches", help="Delete matched emails from server"
)
flag_nonmatching = fields.Boolean(
default=True,
help="Flag emails in the server that don't match any object in Odoo",
)
match_first = fields.Boolean(
"Use 1st match",
help="If there are multiple matches, use the first one. If "
"not checked, multiple matches count as no match at all",
)
domain = fields.Char(help="Fill in a search filter to narrow down objects to match")
msg_state = fields.Selection(
selection=[("sent", "Sent"), ("received", "Received")],
string="Message state",
default="received",
help="The state messages fetched from this folder should be assigned in Odoo",
)
active = fields.Boolean(default=True)
def button_confirm_folder(self):
self.write({"state": "draft"})
for this in self:
if not this.active:
continue
connection = this.server_id.connect()
connection.select()
if connection.select(this.path)[0] != "OK":
raise ValidationError(_("Invalid folder %s!") % this.path)
connection.close()
this.write({"state": "done"})
def button_attach_mail_manually(self):
self.ensure_one()
return {
"type": "ir.actions.act_window",
"res_model": "fetchmail.attach.mail.manually",
"target": "new",
"context": dict(self.env.context, folder_id=self.id),
"view_type": "form",
"view_mode": "form",
}
def set_draft(self):
self.write({"state": "draft"})
return True
def fetch_mail(self):
"""Retrieve all mails for IMAP folders.
We will use a separate connection for each folder.
"""
for this in self:
if not this.active or this.state != "done":
continue
connection = None
try:
# New connection per folder
connection = this.server_id.connect()
this.check_imap_archive_folder(connection)
this.retrieve_imap_folder(connection)
connection.close()
except Exception:
_logger.error(
(
"General failure when trying to connect to"
" %(server_type)s server %(server)s."
),
{
"server_type": this.server_id.server_type,
"server": this.server_id.name,
},
exc_info=True,
)
finally:
if connection:
connection.logout()
def check_imap_archive_folder(self, connection):
"""If archive folder specified, check existance and create when needed."""
self.ensure_one()
server = self.server_id
if not self.archive_path:
return
if connection.select(self.archive_path)[0] != "OK":
connection.create(self.archive_path)
if connection.select(self.archive_path)[0] != "OK":
raise UserError(
_("Could not create archive folder %(folder)s on server %(server)s")
% {"folder": self.archive_path, "server": server.name}
)
def retrieve_imap_folder(self, connection):
"""Retrieve all mails for one IMAP folder."""
self.ensure_one()
msgids = self.get_msgids(connection, "UNDELETED")
for msgid in msgids[0].split():
# We will accept exceptions for single messages
try:
self.env.cr.execute("savepoint apply_matching")
self.apply_matching(connection, msgid)
self.env.cr.execute("release savepoint apply_matching")
except Exception:
self.env.cr.execute("rollback to savepoint apply_matching")
_logger.exception(
"Failed to fetch mail %(msgid)s from server %(server)s",
{"msgid": msgid, "server": self.server_id.name},
)
def get_msgids(self, connection, criteria):
"""Return imap ids of messages to process"""
self.ensure_one()
server = self.server_id
_logger.info(
"start checking for emails in folder %(folder)s on server %(server)s",
{"folder": self.path, "server": server.name},
)
if connection.select(self.path)[0] != "OK":
raise UserError(
_("Could not open folder %(folder)s on server %(server)s")
% {"folder": self.path, "server": server.name}
)
result, msgids = connection.search(None, criteria)
if result != "OK":
raise UserError(
_("Could not search folder %(folder)s on server %(server)s")
% {"folder": self.path, "server": server.name}
)
_logger.info(
"finished checking for emails in folder %(folder)s on server %(server)s",
{"folder": self.path, "server": server.name},
)
return msgids
def apply_matching(self, connection, msgid):
"""Return id of object matched (which will be the thread_id)."""
self.ensure_one()
thread_id = None
thread_model = self.env["mail.thread"]
message_org = self.fetch_msg(connection, msgid)
if self.match_algorithm == "odoo_standard":
thread_id = thread_model.message_process(
self.model_id.model,
message_org,
save_original=self.server_id.original,
strip_attachments=(not self.server_id.attach),
)
else:
message_dict = self._get_message_dict(message_org)
if not self._check_message_already_present(message_dict):
match = self._find_match(message_dict)
if match:
thread_id = match.id
self.attach_mail(match, message_dict)
matched = True if thread_id else False
self.update_msg(connection, msgid, matched=matched)
if self.archive_path:
self._archive_msg(connection, msgid)
return thread_id # Can be None if no match found.
def fetch_msg(self, connection, msgid):
"""Select a single message from a folder."""
self.ensure_one()
result, msgdata = connection.fetch(msgid, "(RFC822)")
if result != "OK":
raise UserError(
_("Could not fetch %(msgid)s in folder %(folder)s on server %(server)s")
% {"msgid": msgid, "folder": self.path, "server": self.server_id.name}
)
message_org = msgdata[0][1] # rfc822 message source
return message_org
def update_msg(self, connection, msgid, matched=True, flagged=False):
"""Update msg in imap folder depending on match and settings."""
if matched:
if self.delete_matching:
connection.store(msgid, "+FLAGS", "\\DELETED")
elif flagged and self.flag_nonmatching:
connection.store(msgid, "-FLAGS", "\\FLAGGED")
else:
if self.flag_nonmatching:
connection.store(msgid, "+FLAGS", "\\FLAGGED")
def _archive_msg(self, connection, msgid):
"""Archive message. Folder should already have been created."""
self.ensure_one()
connection.copy(msgid, self.archive_path)
connection.store(msgid, "+FLAGS", "\\Deleted")
connection.expunge()
@api.model
def _get_message_dict(self, message):
"""Get message_dict from original message.
This uses some code copied from mail.thread.message_process, that
unfortunately is not in a separate method.
"""
if isinstance(message, xmlrpclib.Binary):
message = bytes(message.data)
if isinstance(message, str):
message = message.encode("utf-8")
message = email.message_from_bytes(message, policy=email.policy.SMTP)
thread_model = self.env["mail.thread"]
message_dict = thread_model.message_parse(
message, save_original=self.server_id.original
)
return message_dict
def _check_message_already_present(self, message_dict):
"""If message already handled, it should be ignored."""
message_id = message_dict["message_id"]
if self.env["mail.message"].search([("message_id", "=", message_id)], limit=1):
_logger.debug(
"Message %(message_id)s already in database",
{"message_id": message_id},
)
return True
return False
def _find_match(self, message_dict):
"""Try to find existing object to link mail to."""
self.ensure_one()
matcher = self._get_algorithm()
if not matcher:
return None
matches = matcher.search_matches(self, message_dict)
if not matches:
_logger.info(
"No match found for message %(subject)s with msgid %(msgid)s",
{
"subject": message_dict.get("subject", "no subject"),
"msgid": message_dict.get("message_id", "no msgid"),
},
)
return None
if len(matches) > 1:
_logger.debug(
"Multiple matches found: %(matches)s",
{
"matches": ", ".join(
[str((match.id, match.display_name)) for match in matches]
),
},
)
matched = len(matches) == 1 or self.match_first
return matched and matches[0] or None
def _get_algorithm(self):
"""Translate algorithm code to implementation class.
We used to load this dynamically, but having it more or less hardcoded
allows to adapt the UI to the selected algorithm, withouth needing
the (deprecated) fields_view_get trickery we used in the past.
"""
self.ensure_one()
if self.match_algorithm == "email_domain":
return match_algorithm.email_domain.EmailDomain()
if self.match_algorithm == "email_exact":
return match_algorithm.email_exact.EmailExact()
_logger.error(
"Unknown algorithm %(algorithm)s", {"algorithm": self.match_algorithm}
)
return None
def attach_mail(self, match_object, message_dict):
"""Attach mail to match_object."""
self.ensure_one()
partner = False
model_name = self.model_id.model
if model_name == "res.partner":
partner = match_object
elif "partner_id" in self.env[model_name]._fields:
partner = match_object.partner_id
message_model = self.env["mail.message"]
msg_values = {
key: val
for key, val in message_dict.items()
if key in message_model._fields
}
msg_values.update(
{
"author_id": partner and partner.id or False,
"model": model_name,
"res_id": match_object.id,
"message_type": "email",
}
)
thread_model = self.env["mail.thread"]
attachments = message_dict["attachments"] or []
attachment_ids = []
attachement_values = thread_model._message_post_process_attachments(
attachments, attachment_ids, msg_values
)
msg_values.update(attachement_values)
message = message_model.create(msg_values)
_logger.debug(
"Message with id %(message_id)s created"
" for %(model_name)s with id %(thread_id)s",
{
"message_id": message.id,
"model_name": model_name,
"thread_id": match_object.id,
},
)

View File

@ -0,0 +1,28 @@
In your fetchmail configuration, you'll find a new list field `Folders to
monitor`. Add your folders here in IMAP notation (usually something like
`INBOX.your_folder_name.your_subfolder_name`), choose a model to attach mails
to and a matching algorithm to use.
Exact mailaddress
-----------------
Fill in a field to search for the email address in `Field (model)`. For
partners, this would be `email`. Also fill in the header field from the email
to look at in `Field (email)`. If you want to match incoming mails from your
customers, this would be `from`. You can also list header fields, so to match
partners receiving this email, you might fill in `to,cc,bcc`.
Domain of email addresses
-------------------------
Match the domain of the email address(es) found in `Field (email)`. This would
attach a mail to `test1@example.com` to a record with `Field (model)` set to
`test2@example.com`. Given that this is a fuzzy match, you probably want to
check `Use 1st match`, because otherwise nothing happens if multiple possible
matches are found.
Odoo standard
-------------
This is stricly speaking no matching algorithm, but calls the model's standard
action on new incoming mail, which is usually creating a new record.

View File

@ -0,0 +1,3 @@
- Holger Brunn <hbrunn@therp.nl>
- Ronald Portier <ronald@therp.nl>
- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>

View File

@ -0,0 +1,6 @@
Adds the possibility to attach emails from a certain IMAP folder to objects,
ie partners. Matching is done via several algorithms, ie email address, email
address's domain or the original Odoo algorithm.
This gives a simple possibility to archive emails in Odoo without a mail
client integration.

View File

@ -0,0 +1,16 @@
A widespread configuration is to have a shared mailbox with several folders,
i.e. one where users drop mails they want to attach to partners. Let this
folder be called `From partners`. Then create a folder configuration for your
server with path `"INBOX.From partners"` (note the quotes because of the space,
this is server dependent). Choose model `Partners`, set `Field (model)` to
`email` and `Field (email)` to `from`. In `Domain`, you could fill in
`[('customer', '=', True)]` to be sure to only match customer records.
Now when your users drop mails into this folder, they will be fetched by Odoo
and attached to the partner in question. After some testing, you might want to
check `Delete matches` in your folder configuration so that this folder doesn't
grow indefinitely.
Another way to prevent having to process ever more messages from the folder
to read is to automatically move all processed messages to an archive folder
that can be specified.

View File

@ -0,0 +1,4 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_model_fetchmail_server_folder,fetchmail.server.folder,model_fetchmail_server_folder,base.group_system,1,1,1,1
access_fetchmail_attach_mail_manually,access_fetchmail_attach_mail_manually,model_fetchmail_attach_mail_manually,base.group_system,1,1,1,1
access_fetchmail_attach_mail_manually_mail,access_fetchmail_attach_mail_manually_mail,model_fetchmail_attach_mail_manually_mail,base.group_system,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_model_fetchmail_server_folder fetchmail.server.folder model_fetchmail_server_folder base.group_system 1 1 1 1
3 access_fetchmail_attach_mail_manually access_fetchmail_attach_mail_manually model_fetchmail_attach_mail_manually base.group_system 1 1 1 1
4 access_fetchmail_attach_mail_manually_mail access_fetchmail_attach_mail_manually_mail model_fetchmail_attach_mail_manually_mail base.group_system 1 1 1 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,484 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Email gateway - folders</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="email-gateway-folders">
<h1 class="title">Email gateway - folders</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c6afe0f3176202f575e0bfd827acadf557acced4a2dccdb2a55dafc0337abc87
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-tools/tree/16.0/fetchmail_attach_from_folder"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-fetchmail_attach_from_folder"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Adds the possibility to attach emails from a certain IMAP folder to
objects, ie partners. Matching is done via several algorithms, ie email
address, email addresss domain or the original Odoo algorithm.</p>
<p>This gives a simple possibility to archive emails in Odoo without a mail
client integration.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a><ul>
<li><a class="reference internal" href="#exact-mailaddress" id="toc-entry-2">Exact mailaddress</a></li>
<li><a class="reference internal" href="#domain-of-email-addresses" id="toc-entry-3">Domain of email addresses</a></li>
<li><a class="reference internal" href="#odoo-standard" id="toc-entry-4">Odoo standard</a></li>
</ul>
</li>
<li><a class="reference internal" href="#usage" id="toc-entry-5">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-6">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-7">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-8">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-9">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-10">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>In your fetchmail configuration, youll find a new list field
<tt class="docutils literal">Folders to&nbsp; monitor</tt>. Add your folders here in IMAP notation (usually
something like <tt class="docutils literal">INBOX.your_folder_name.your_subfolder_name</tt>), choose a
model to attach mails to and a matching algorithm to use.</p>
<div class="section" id="exact-mailaddress">
<h2><a class="toc-backref" href="#toc-entry-2">Exact mailaddress</a></h2>
<p>Fill in a field to search for the email address in <tt class="docutils literal">Field (model)</tt>.
For partners, this would be <tt class="docutils literal">email</tt>. Also fill in the header field
from the email to look at in <tt class="docutils literal">Field (email)</tt>. If you want to match
incoming mails from your customers, this would be <tt class="docutils literal">from</tt>. You can also
list header fields, so to match partners receiving this email, you might
fill in <tt class="docutils literal">to,cc,bcc</tt>.</p>
</div>
<div class="section" id="domain-of-email-addresses">
<h2><a class="toc-backref" href="#toc-entry-3">Domain of email addresses</a></h2>
<p>Match the domain of the email address(es) found in <tt class="docutils literal">Field (email)</tt>.
This would attach a mail to <tt class="docutils literal">test1&#64;example.com</tt> to a record with
<tt class="docutils literal">Field (model)</tt> set to <tt class="docutils literal">test2&#64;example.com</tt>. Given that this is a
fuzzy match, you probably want to check <tt class="docutils literal">Use 1st match</tt>, because
otherwise nothing happens if multiple possible matches are found.</p>
</div>
<div class="section" id="odoo-standard">
<h2><a class="toc-backref" href="#toc-entry-4">Odoo standard</a></h2>
<p>This is stricly speaking no matching algorithm, but calls the models
standard action on new incoming mail, which is usually creating a new
record.</p>
</div>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-5">Usage</a></h1>
<p>A widespread configuration is to have a shared mailbox with several
folders, i.e. one where users drop mails they want to attach to
partners. Let this folder be called <tt class="docutils literal">From partners</tt>. Then create a
folder configuration for your server with path <tt class="docutils literal">&quot;INBOX.From partners&quot;</tt>
(note the quotes because of the space, this is server dependent). Choose
model <tt class="docutils literal">Partners</tt>, set <tt class="docutils literal">Field (model)</tt> to <tt class="docutils literal">email</tt> and
<tt class="docutils literal">Field (email)</tt> to <tt class="docutils literal">from</tt>. In <tt class="docutils literal">Domain</tt>, you could fill in
<tt class="docutils literal"><span class="pre">[('customer',</span> <span class="pre">'=',</span> True)]</tt> to be sure to only match customer records.</p>
<p>Now when your users drop mails into this folder, they will be fetched by
Odoo and attached to the partner in question. After some testing, you
might want to check <tt class="docutils literal">Delete matches</tt> in your folder configuration so
that this folder doesnt grow indefinitely.</p>
<p>Another way to prevent having to process ever more messages from the
folder to read is to automatically move all processed messages to an
archive folder that can be specified.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20fetchmail_attach_from_folder%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-7">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-8">Authors</a></h2>
<ul class="simple">
<li>Therp BV</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-9">Contributors</a></h2>
<ul class="simple">
<li>Holger Brunn <a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a></li>
<li>Ronald Portier <a class="reference external" href="mailto:ronald&#64;therp.nl">ronald&#64;therp.nl</a></li>
<li>Alexandre Fayolle <a class="reference external" href="mailto:alexandre.fayolle&#64;camptocamp.com">alexandre.fayolle&#64;camptocamp.com</a></li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/NL66278"><img alt="NL66278" src="https://github.com/NL66278.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/16.0/fetchmail_attach_from_folder">OCA/server-tools</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,3 @@
# Copyright - 2015-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_match_algorithms

View File

@ -0,0 +1,124 @@
# Copyright - 2015-2018 Therp BV <https://acme.com>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import TransactionCase
from ..match_algorithm import email_domain
TEST_EMAIL = "reynaert@dutchsagas.nl"
TEST_SUBJECT = "Test subject"
MSG_BODY = [
(
"1 (RFC822 {1149}",
"Return-Path: <ronald@acme.com>\r\n"
"Delivered-To: demo@yourcompany.example.com\r\n"
"Received: from localhost (localhost [127.0.0.1])\r\n"
"\tby vanaheim.acme.com (Postfix) with ESMTP id 14A3183163\r\n"
"\tfor <demo@yourcompany.example.com>;"
" Mon, 26 Mar 2018 16:03:52 +0200 (CEST)\r\n"
"To: Test User <nonexistingemail@yourcompany.example.com>\r\n"
"From: Reynaert de Vos <%(test_email)s>\r\n"
"Subject: %(test_subject)s\r\n"
"Message-ID: <485a8041-d560-a981-5afc-d31c1f136748@acme.com>\r\n"
"Date: Mon, 26 Mar 2018 16:03:51 +0200\r\n"
"User-Agent: Mock Test\r\n"
"MIME-Version: 1.0\r\n"
"Content-Type: text/plain; charset=utf-8\r\n"
"Content-Language: en-US\r\n"
"Content-Transfer-Encoding: 7bit\r\n\r\n"
"Hallo Wereld!\r\n" % {"test_email": TEST_EMAIL, "test_subject": TEST_SUBJECT},
)
]
MAIL_MESSAGE = {"subject": TEST_SUBJECT, "to": "demo@yourcompany.example.com"}
class MockConnection:
def select(self, path):
"""Mock selecting a folder."""
return ("OK",)
def store(self, msgid, msg_item, value):
"""Mock store command."""
return "OK"
def fetch(self, msgid, parts):
"""Return RFC822 formatted message."""
return ("OK", MSG_BODY)
def search(self, charset, criteria):
"""Return some msgid's."""
return ("OK", ["123 456"])
class TestMatchAlgorithms(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.partner_model = cls.env["res.partner"]
cls.test_partner = cls.partner_model.with_context(tracking_disable=True).create(
{"name": "Reynaert de Vos", "email": TEST_EMAIL, "is_company": False}
)
cls.server_model = cls.env["fetchmail.server"]
cls.folder_model = cls.env["fetchmail.server.folder"]
cls.server = cls.server_model.create(
{
"name": "Test Fetchmail Server",
"server": "imap.example.com",
"server_type": "imap",
"active": True,
"state": "done",
}
)
cls.folder = cls.folder_model.create(
{
"server_id": cls.server.id,
"sequence": 5,
"path": "INBOX",
"model_id": cls.env.ref("base.model_res_partner").id,
"model_field": "email",
"match_algorithm": "email_exact",
# The intention is to link email to sender partner object.
"mail_field": "from",
}
)
def test_email_exact(self):
"""A message to ronald@acme.com should be linked to partner with that email."""
MAIL_MESSAGE["from"] = TEST_EMAIL
self._test_search_matches(email_domain.EmailDomain)
self._test_apply_matching(email_domain.EmailDomain)
def test_email_domain(self):
"""Test with email in same domain, but different mailbox."""
ALTERNATE_EMAIL = TEST_EMAIL.replace("reynaert@", "mariken@")
MAIL_MESSAGE["from"] = ALTERNATE_EMAIL
self.folder.match_algorithm = "email_domain"
self.folder.match_first = True
self._test_search_matches(email_domain.EmailDomain)
self._test_apply_matching(email_domain.EmailDomain)
def _test_search_matches(self, match_algorithm):
matcher = match_algorithm()
matches = matcher.search_matches(self.folder, MAIL_MESSAGE)
# matches should be a record set with length 1.
self.assertEqual(matches.email, self.test_partner.email)
self.assertEqual(matches, self.test_partner)
def _test_apply_matching(self, match_algorithm):
connection = MockConnection()
thread_id = self.folder.apply_matching(connection, "1")
self.assertEqual(thread_id, self.test_partner.id)
self.assertEqual(self.test_partner.message_ids[-1].subject, TEST_SUBJECT)
def test_apply_matching_exact(self):
folder = self.folder
folder.match_algorithm = "email_exact"
connection = MockConnection()
msgid = "<485a8041-d560-a981-5afc-d31c1f136748@acme.com>"
folder.apply_matching(connection, msgid)
def test_retrieve_imap_folder_domain(self):
folder = self.folder
folder.match_algorithm = "email_domain"
connection = MockConnection()
folder.retrieve_imap_folder(connection)

View File

@ -0,0 +1,116 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.ui.view" id="view_email_server_form">
<field name="name">fetchmail.server.form</field>
<field name="model">fetchmail.server</field>
<field name="inherit_id" ref="mail.view_email_server_form" />
<field name="arch" type="xml">
<field name="object_id" position="attributes">
<attribute
name="attrs"
>{'required': [('server_type', '!=', 'imap')]}</attribute>
</field>
<xpath expr="//notebook" position="inside">
<page
string="Folders to monitor"
attrs="{'invisible': [('server_type','!=','imap')]}"
>
<group>
<field name="folders_only" />
</group>
<field name="folder_ids" nolabel="1">
<tree decoration-muted="active == False">
<field name="active" invisible="True" />
<field name="sequence" widget="handle" />
<field name="path" />
<field name="archive_path" />
<field name="model_id" />
<field name="match_algorithm" />
<field name="model_field" />
<field name="mail_field" />
<field name="state" />
</tree>
<form>
<field name="state" invisible="1" />
<header>
<button
type="object"
name="button_confirm_folder"
string="Test &amp; Confirm"
states="draft"
/>
<button
type="object"
name="button_attach_mail_manually"
string="Attach mail manually"
states="done"
/>
<button
type="object"
name="fetch_mail"
string="Fetch folder now"
states="done"
/>
<button
string="Reset Confirmation"
type="object"
name="set_draft"
states="done"
/>
</header>
<group colspan="4" col="2">
<group>
<field name="path" placeholder="INBOX.subfolder1" />
<field name="model_id" />
<field name="match_algorithm" />
</group>
<group
name="group_email_match"
attrs="{'invisible':
[('match_algorithm','=','odoo_standard')]}"
>
<field
name="model_field"
placeholder="email"
attrs="{'required':
[('match_algorithm','in',['email_exact','email_domain'])]}"
/>
<field
name="mail_field"
placeholder="to,from"
attrs="{'required':
[('match_algorithm','in',['email_exact','email_domain'])]}"
/>
<field name="match_first" />
<field
name="domain"
placeholder="[('state', '=', 'open')]"
/>
<field
name="model_order"
placeholder="name asc"
attrs="{'readonly':
[('match_first','==',False)],
'required':
[('match_first','==',True)]}"
/>
<field name="flag_nonmatching" />
</group>
<group>
<field name="active" />
<field name="archive_path" />
<field name="delete_matching" />
<field name="msg_state" />
</group>
</group>
</form>
</field>
<separator string="Folders available on server" colspan="6" />
<field name="folders_available" />
</page>
</xpath>
</field>
</record>
</odoo>

View File

@ -0,0 +1,3 @@
# Copyright - 2013-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import attach_mail_manually

View File

@ -0,0 +1,107 @@
# Copyright 2013-2018 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging
from odoo import _, api, fields, models
_logger = logging.getLogger(__name__)
class AttachMailManually(models.TransientModel):
"""Attach mail to selected documents."""
_name = "fetchmail.attach.mail.manually"
_description = __doc__
name = fields.Char()
folder_id = fields.Many2one(comodel_name="fetchmail.server.folder", readonly=True)
mail_ids = fields.One2many(
"fetchmail.attach.mail.manually.mail", "wizard_id", "Emails"
)
@api.model
def _prepare_mail(self, folder, msgid, mail_message):
return {
"msgid": msgid,
"subject": mail_message.get("subject", ""),
"date": mail_message.get("date", ""),
"body": mail_message.get("body", ""),
"email_from": mail_message.get("from", ""),
"object_id": "%s,-1" % folder.model_id.model,
}
@api.model
def default_get(self, fields_list):
defaults = super(AttachMailManually, self).default_get(fields_list)
if not fields_list or "name" in fields_list:
defaults["name"] = _("Attach emails manually")
defaults["mail_ids"] = []
folder_model = self.env["fetchmail.server.folder"]
folder_id = self.env.context.get("folder_id")
defaults["folder_id"] = folder_id
folder = folder_model.browse([folder_id])
connection = folder.server_id.connect()
connection.select(folder.path)
criteria = "FLAGGED" if folder.flag_nonmatching else "UNDELETED"
msgids = folder.get_msgids(connection, criteria)
for msgid in msgids[0].split():
mail_message, message_org = folder.fetch_msg(connection, msgid)
defaults["mail_ids"].append(
(0, 0, self._prepare_mail(folder, msgid, mail_message))
)
connection.close()
return defaults
def attach_mails(self):
self.ensure_one()
folder = self.folder_id
server = folder.server_id
connection = server.connect()
connection.select(folder.path)
for mail in self.mail_ids:
if not mail.object_id:
continue
msgid = mail.msgid
mail_message, message_org = folder.fetch_msg(connection, msgid)
folder.attach_mail(mail.object_id, mail_message)
folder.update_msg(
connection, msgid, matched=True, flagged=folder.flag_nonmatching
)
connection.close()
return {"type": "ir.actions.act_window_close"}
@api.model
def fields_view_get(
self, view_id=None, view_type="form", toolbar=False, submenu=False
):
# TODO: Change or replace this...
result = super(AttachMailManually, self).fields_view_get(
view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu
)
if view_type != "form":
return result
folder_model = self.env["fetchmail.server.folder"]
folder_id = self.env.context.get("folder_id")
folder = folder_model.browse([folder_id])
form = result["fields"]["mail_ids"]["views"]["form"]
form["fields"]["object_id"]["selection"] = [
(folder.model_id.model, folder.model_id.name)
]
return result
class AttachMailManuallyMail(models.TransientModel):
"""Attach single mail to selected documents."""
_name = "fetchmail.attach.mail.manually.mail"
_description = __doc__
wizard_id = fields.Many2one("fetchmail.attach.mail.manually", readonly=True)
msgid = fields.Char("Message id", readonly=True)
subject = fields.Char(readonly=True)
date = fields.Datetime(readonly=True)
email_from = fields.Char("From", readonly=True)
body = fields.Html(readonly=True)
object_id = fields.Reference(
lambda self: [(m.model, m.name) for m in self.env["ir.model"].search([])]
)

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.ui.view" id="view_attach_mail_manually">
<field name="name">fetchmail.attach.mail.manually</field>
<field name="model">fetchmail.attach.mail.manually</field>
<field name="arch" type="xml">
<form col="4" string="Attach mail manually">
<group>
<field name="folder_id" />
<field name="mail_ids" nolabel="1" colspan="4">
<tree create="0">
<field name="email_from" />
<field name="subject" />
<field name="date" />
<field name="object_id" />
</tree>
<form>
<group>
<field name="email_from" />
<field name="subject" />
<field name="date" />
<field name="object_id" />
</group>
<field name="body" />
</form>
</field>
</group>
<footer>
<button
string="Save"
type="object"
name="attach_mails"
class="oe_highlight"
/>
or
<button special="cancel" string="Cancel" class="oe_link" />
</footer>
</form>
</field>
</record>
</odoo>

View File

@ -0,0 +1 @@
../../../../fetchmail_attach_from_folder

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)