-
-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
21 changed files
with
1,508 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/stock_picking_send_by_mail/odoo/addons/stock_picking_send_by_mail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../stock_picking_send_by_mail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
===================== | ||
Stock Picking by Mail | ||
===================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Fstock--logistics--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_picking_send_by_mail | ||
:alt: OCA/stock-logistics-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_picking_send_by_mail | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/154/14.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
========================== | ||
Stock picking send by mail | ||
========================== | ||
|
||
This module was written to extend the functionality of stock picking and allow | ||
you to send the picking order by email. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
* Go to a Delivery Order. | ||
* Click on the button Send by Email. | ||
* And finally click on the button Send. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_picking_send_by_mail%0Aversion:%2014.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 | ||
~~~~~~~ | ||
|
||
* Sandra Figueroa Varela | ||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Sandra Figueroa Varela <sandrafigvar@gmail.com> | ||
* Tecnativa <https://www.tecnativa.com>: | ||
|
||
* Vicent Cubells | ||
* Carlos Roca | ||
|
||
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. | ||
|
||
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_picking_send_by_mail>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2015 - Sandra Figueroa Varela | ||
# Copyright 2017 Tecnativa - Vicent Cubells | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Stock Picking by Mail", | ||
"summary": "Send stock picking by email", | ||
"version": "15.0.1.0.0", | ||
"author": "Sandra Figueroa Varela, " | ||
"Tecnativa, " | ||
"Odoo Community Association (OCA), " | ||
"Daniel Domínguez (Xtendoo)", | ||
"website": "https://github.com/OCA/stock-logistics-workflow", | ||
"category": "Warehouse Management", | ||
"license": "AGPL-3", | ||
"depends": ["stock", "mail"], | ||
"data": ["views/stock_picking_view.xml"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_send_by_mail | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 2017 | ||
# Rudolf Schnapka <rs@techno-flex.de>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 9.0c\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-12-19 03:56+0000\n" | ||
"PO-Revision-Date: 2017-12-19 03:56+0000\n" | ||
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n" | ||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/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: stock_picking_send_by_mail | ||
#: model:mail.template,body_html:stock_picking_send_by_mail.email_template_stock_picking | ||
msgid "" | ||
"\n" | ||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-" | ||
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n" | ||
"\n" | ||
" <p>Hello ${object.partner_id.name},</p>\n" | ||
"\n" | ||
" <p>Here is your picking from ${object.company_id.name}: </p>\n" | ||
"\n" | ||
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n" | ||
" <strong>REFERENCES</strong><br />\n" | ||
" Picking number: <strong>${object.name}</strong><br />\n" | ||
" % if object.origin:\n" | ||
" Picking reference: ${object.origin}<br />\n" | ||
" % endif\n" | ||
" % if object.user_id:\n" | ||
" Your contact: <a href=\"mailto:${object.user_id.email " | ||
"or ''}?subject=Picking%20${object.name}\">${object.user_id.name}</a>\n" | ||
" % endif\n" | ||
" </p>\n" | ||
" <p>If you have any question, do not hesitate to contact us.</p>\n" | ||
" <p>Thank you for choosing ${object.company_id.name or 'us'}!</p>\n" | ||
" <br/>\n" | ||
" <br/>\n" | ||
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: " | ||
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; " | ||
"background-repeat: repeat no-repeat;\">\n" | ||
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: " | ||
"#DDD;\">\n" | ||
" <strong style=\"text-transform:uppercase;\">${object.company_id." | ||
"name}</strong></h3>\n" | ||
" </div>\n" | ||
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: " | ||
"16px; background-color: #F2F2F2;\">\n" | ||
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n" | ||
" % if object.company_id.street:\n" | ||
" ${object.company_id.street}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.street2:\n" | ||
" ${object.company_id.street2}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.city or object.company_id.zip:\n" | ||
" ${object.company_id.zip} ${object.company_id.city}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.country_id:\n" | ||
" ${object.company_id.state_id and ('%s, ' % object.company_id." | ||
"state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n" | ||
" % endif\n" | ||
" </span>\n" | ||
" % if object.company_id.phone:\n" | ||
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: " | ||
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: " | ||
"0px; padding-left: 0px; \">\n" | ||
" Phone: ${object.company_id.phone}\n" | ||
" </div>\n" | ||
" % endif\n" | ||
" % if object.company_id.website:\n" | ||
" <div>\n" | ||
" Web : <a href=\"${object.company_id.website}\">${object." | ||
"company_id.website}</a>\n" | ||
" </div>\n" | ||
" %endif\n" | ||
" <p></p>\n" | ||
" </div>\n" | ||
"</div>\n" | ||
" " | ||
msgstr "" | ||
"\n" | ||
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-" | ||
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n" | ||
"\n" | ||
" <p>Hallo ${object.partner_id.name},</p>\n" | ||
"\n" | ||
" <p>Hier ist Ihre Umlagerung für ${object.company_id.name}: </p>\n" | ||
"\n" | ||
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n" | ||
" <strong>BEZÜGE</strong><br />\n" | ||
" Umlagerungsnummer: <strong>${object.name}</strong><br />\n" | ||
" % if object.origin:\n" | ||
" Umlagerungsreferenz: ${object.origin}<br />\n" | ||
" % endif\n" | ||
" % if object.user_id:\n" | ||
" Ihr Ansprechpartner: <a href=\"mailto:${object." | ||
"user_id.email or ''}?subject=Picking%20${object.name}\">${object.user_id." | ||
"name}</a>\n" | ||
" % endif\n" | ||
" </p>\n" | ||
" <p>Bei Fragen, bitte nicht zögern uns anzusprechen.</p>\n" | ||
" <p>Vielen Dank für Ihr Vertrauen in ${object.company_id.name or 'uns'}!</" | ||
"p>\n" | ||
" <br/>\n" | ||
" <br/>\n" | ||
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: " | ||
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; " | ||
"background-repeat: repeat no-repeat;\">\n" | ||
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: " | ||
"#DDD;\">\n" | ||
" <strong style=\"text-transform:uppercase;\">${object.company_id." | ||
"name}</strong></h3>\n" | ||
" </div>\n" | ||
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: " | ||
"16px; background-color: #F2F2F2;\">\n" | ||
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n" | ||
" % if object.company_id.street:\n" | ||
" ${object.company_id.street}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.street2:\n" | ||
" ${object.company_id.street2}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.city or object.company_id.zip:\n" | ||
" ${object.company_id.zip} ${object.company_id.city}<br/>\n" | ||
" % endif\n" | ||
" % if object.company_id.country_id:\n" | ||
" ${object.company_id.state_id and ('%s, ' % object.company_id." | ||
"state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>\n" | ||
" % endif\n" | ||
" </span>\n" | ||
" % if object.company_id.phone:\n" | ||
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: " | ||
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: " | ||
"0px; padding-left: 0px; \">\n" | ||
" Phone: ${object.company_id.phone}\n" | ||
" </div>\n" | ||
" % endif\n" | ||
" % if object.company_id.website:\n" | ||
" <div>\n" | ||
" Web : <a href=\"${object.company_id.website}\">${object." | ||
"company_id.website}</a>\n" | ||
" </div>\n" | ||
" %endif\n" | ||
" <p></p>\n" | ||
" </div>\n" | ||
"</div>\n" | ||
" " | ||
|
||
#. module: stock_picking_send_by_mail | ||
#: model:mail.template,report_name:stock_picking_send_by_mail.email_template_stock_picking | ||
msgid "${(object.name or '').replace('/','_')}" | ||
msgstr "${(object.name or '').replace('/','_')}" | ||
|
||
#. module: stock_picking_send_by_mail | ||
#: model:mail.template,subject:stock_picking_send_by_mail.email_template_stock_picking | ||
msgid "${object.company_id.name|safe} Picking (Ref ${object.name or 'n/a' })" | ||
msgstr "" | ||
"${object.company_id.name|safe} Umlagerung (Ref ${object.name or 'n/a' })" | ||
|
||
#. module: stock_picking_send_by_mail | ||
#: code:addons/stock_picking_send_by_mail/models/stock_picking.py:31 | ||
#, python-format | ||
msgid "Compose Email" | ||
msgstr "Email verfassen" | ||
|
||
#. module: stock_picking_send_by_mail | ||
#: model_terms:ir.ui.view,arch_db:stock_picking_send_by_mail.view_picking_form | ||
msgid "Send by Email" | ||
msgstr "Per Email versenden" | ||
|
||
#. module: stock_picking_send_by_mail | ||
#: model:ir.model,name:stock_picking_send_by_mail.model_stock_picking | ||
msgid "Transfer" | ||
msgstr "Umlagern" |
Oops, something went wrong.