diff --git a/sale_sourced_by_line/README.rst b/sale_sourced_by_line/README.rst new file mode 100644 index 00000000000..71d5c24dc70 --- /dev/null +++ b/sale_sourced_by_line/README.rst @@ -0,0 +1,67 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +==================== +Sale Sourced by Line +==================== + +This module adds the possibility to source a line of sale order from a specific +warehouse instead of using the warehouse of the sale order. + +This will create one procurement group per warehouse set in sale +order lines. + +It will only supports routes such as MTO and Drop Shipping. + + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/167/10.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smash it by providing detailed and welcomed feedback. + + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Guewen Baconnier +* Yannick Vaucher +* Eficent Business and IT Consulting Services S.L. +* Serpent Consulting Services Pvt. Ltd. +* Info A Tout Prix +* Ajay Javiya + +Do not contact contributors directly about support or help with technical issues. + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/sale_sourced_by_line/__init__.py b/sale_sourced_by_line/__init__.py new file mode 100644 index 00000000000..fbf47358c4f --- /dev/null +++ b/sale_sourced_by_line/__init__.py @@ -0,0 +1,6 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import model diff --git a/sale_sourced_by_line/__manifest__.py b/sale_sourced_by_line/__manifest__.py new file mode 100644 index 00000000000..484b72b3845 --- /dev/null +++ b/sale_sourced_by_line/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016-17 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +{ + "name": "Sale Sourced by Line", + "summary": "Multiple warehouse source locations for Sale order", + "version": "18.0.1.0.0", + "author": "Camptocamp," + "Eficent," + "SerpentCS," + "Info a tout prix," + "Odoo Community Association (OCA)", + "category": "Warehouse", + "license": "AGPL-3", + "website": "https://github.com/OCA/sale-workflow", + "depends": [ + "sale_procurement_group_by_line", + ], + "data": ["view/sale_view.xml"], + "installable": True, +} diff --git a/sale_sourced_by_line/i18n/ca.po b/sale_sourced_by_line/i18n/ca.po new file mode 100644 index 00000000000..a60b527329d --- /dev/null +++ b/sale_sourced_by_line/i18n/ca.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: 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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Comandes de venda" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línia de comanda de vendes" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/de.po b/sale_sourced_by_line/i18n/de.po new file mode 100644 index 00000000000..c3ad292990c --- /dev/null +++ b/sale_sourced_by_line/i18n/de.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2023-12-14 18:35+0000\n" +"Last-Translator: jappi00 \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" +"X-Generator: Weblate 4.17\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" +"Wenn ein Ausgangslager ausgewählt wird, wird es für die Definition der Route " +"verwendet. Andernfalls wird das Lager des Verkaufsauftrags verwendet." + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Auftragsposition" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "Quelllagerhaus" diff --git a/sale_sourced_by_line/i18n/el_GR.po b/sale_sourced_by_line/i18n/el_GR.po new file mode 100644 index 00000000000..cb442b8a305 --- /dev/null +++ b/sale_sourced_by_line/i18n/el_GR.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# Kostas Goutoudis , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: Kostas Goutoudis , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Εντολή Πώλησης" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/es.po b/sale_sourced_by_line/i18n/es.po new file mode 100644 index 00000000000..746a7146c77 --- /dev/null +++ b/sale_sourced_by_line/i18n/es.po @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +# Pedro M. Baeza , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2023-12-18 20:10+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/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" +"X-Generator: Weblate 4.17\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" +"Si se selecciona un almacén de origen, se utilizará para definir la ruta. De " +"lo contrario, obtendrá el almacén de la orden de venta" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "Almacén de Origen" diff --git a/sale_sourced_by_line/i18n/es_ES.po b/sale_sourced_by_line/i18n/es_ES.po new file mode 100644 index 00000000000..99cea5d532a --- /dev/null +++ b/sale_sourced_by_line/i18n/es_ES.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: es_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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/es_VE.po b/sale_sourced_by_line/i18n/es_VE.po new file mode 100644 index 00000000000..b2f051b80f5 --- /dev/null +++ b/sale_sourced_by_line/i18n/es_VE.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de venta" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/fi.po b/sale_sourced_by_line/i18n/fi.po new file mode 100644 index 00000000000..3c59a521c95 --- /dev/null +++ b/sale_sourced_by_line/i18n/fi.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Myyntitilaus" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/fr.po b/sale_sourced_by_line/i18n/fr.po new file mode 100644 index 00000000000..8b6023d4177 --- /dev/null +++ b/sale_sourced_by_line/i18n/fr.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sales Order Line" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/hr.po b/sale_sourced_by_line/i18n/hr.po new file mode 100644 index 00000000000..6e6be4a85be --- /dev/null +++ b/sale_sourced_by_line/i18n/hr.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Stavka ponude" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/hr_HR.po b/sale_sourced_by_line/i18n/hr_HR.po new file mode 100644 index 00000000000..070bdcf7af5 --- /dev/null +++ b/sale_sourced_by_line/i18n/hr_HR.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Prodjani nalog" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/hu.po b/sale_sourced_by_line/i18n/hu.po new file mode 100644 index 00000000000..8be5d2058ca --- /dev/null +++ b/sale_sourced_by_line/i18n/hu.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Vevői megrendelés" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/it.po b/sale_sourced_by_line/i18n/it.po new file mode 100644 index 00000000000..34c6442e37f --- /dev/null +++ b/sale_sourced_by_line/i18n/it.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-02 17:59+0000\n" +"PO-Revision-Date: 2024-09-16 10:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-sale-workflow-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 5.6.2\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "Magazzino predefinito" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" +"Se è selezionata una origine magazzino, verrà utilizzata per definire la " +"rotta. Altrimenti, verrà preso il magazzino dell'ordine di vendita" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" +"Ne non viene selezionato un magazzino on line, questo magazzino è utilizzato " +"come predefinito. " + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Riga ordine di vendita" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "MagazzIno origine" diff --git a/sale_sourced_by_line/i18n/nl.po b/sale_sourced_by_line/i18n/nl.po new file mode 100644 index 00000000000..648e8835d52 --- /dev/null +++ b/sale_sourced_by_line/i18n/nl.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/nl_NL.po b/sale_sourced_by_line/i18n/nl_NL.po new file mode 100644 index 00000000000..2225e40e652 --- /dev/null +++ b/sale_sourced_by_line/i18n/nl_NL.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkooporderregel" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/pt.po b/sale_sourced_by_line/i18n/pt.po new file mode 100644 index 00000000000..18b77ae209b --- /dev/null +++ b/sale_sourced_by_line/i18n/pt.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# Daniel Reis , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: Daniel Reis , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Ordem de Venda" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/pt_BR.po b/sale_sourced_by_line/i18n/pt_BR.po new file mode 100644 index 00000000000..bdcaeab5070 --- /dev/null +++ b/sale_sourced_by_line/i18n/pt_BR.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +# Paulo Ricardo , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2023-12-28 23:43+0000\n" +"Last-Translator: Adriano Prado \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/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" +"X-Generator: Weblate 4.17\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" +"Se um armazém de origem for selecionado, ele será utilizado para definir a " +"rota. Caso contrário, obterá o armazém do pedido de venda" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Pedido de Venda" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha Pedido de Venda" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "Armazém de Origem" diff --git a/sale_sourced_by_line/i18n/ro.po b/sale_sourced_by_line/i18n/ro.po new file mode 100644 index 00000000000..297a71dd64c --- /dev/null +++ b/sale_sourced_by_line/i18n/ro.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# Dorin Hongu , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: Dorin Hongu , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Comandă vânzare" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linie comandă vânzare" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/sale_sourced_by_line.pot b/sale_sourced_by_line/i18n/sale_sourced_by_line.pot new file mode 100644 index 00000000000..f01e358cadb --- /dev/null +++ b/sale_sourced_by_line/i18n/sale_sourced_by_line.pot @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/sk.po b/sale_sourced_by_line/i18n/sk.po new file mode 100644 index 00000000000..8bb6701b984 --- /dev/null +++ b/sale_sourced_by_line/i18n/sk.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Objednávka predaja" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/sl.po b/sale_sourced_by_line/i18n/sl.po new file mode 100644 index 00000000000..0356d662a49 --- /dev/null +++ b/sale_sourced_by_line/i18n/sl.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Postavka prodajnega naloga" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/tr.po b/sale_sourced_by_line/i18n/tr.po new file mode 100644 index 00000000000..069bd338d3e --- /dev/null +++ b/sale_sourced_by_line/i18n/tr.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 01:51+0000\n" +"PO-Revision-Date: 2017-11-23 01:51+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Sipariş Emri" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Satış Siparişi Hattı" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/tr_TR.po b/sale_sourced_by_line/i18n/tr_TR.po new file mode 100644 index 00000000000..3c6f77fc009 --- /dev/null +++ b/sale_sourced_by_line/i18n/tr_TR.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Satış emri" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş emri satırı " + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/vi_VN.po b/sale_sourced_by_line/i18n/vi_VN.po new file mode 100644 index 00000000000..0c437c1a6f1 --- /dev/null +++ b/sale_sourced_by_line/i18n/vi_VN.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-28 03:43+0000\n" +"PO-Revision-Date: 2017-02-28 03:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" +"teams/23907/vi_VN/)\n" +"Language: vi_VN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "Đơn hàng Bán" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/i18n/zh_CN.po b/sale_sourced_by_line/i18n/zh_CN.po new file mode 100644 index 00000000000..b87bd138235 --- /dev/null +++ b/sale_sourced_by_line/i18n/zh_CN.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_sourced_by_line +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "Default Warehouse" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "" +"If a source warehouse is selected, it will be used to define the route. " +"Otherwise, it will get the warehouse of the sale order" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,help:sale_sourced_by_line.field_sale_order__warehouse_id +msgid "" +"If no source warehouse is selected on line, this warehouse is used as " +"default. " +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order +msgid "Sales Order" +msgstr "销售订单" + +#. module: sale_sourced_by_line +#: model:ir.model,name:sale_sourced_by_line.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + +#. module: sale_sourced_by_line +#: model:ir.model.fields,field_description:sale_sourced_by_line.field_sale_order_line__warehouse_id +msgid "Source Warehouse" +msgstr "" diff --git a/sale_sourced_by_line/model/__init__.py b/sale_sourced_by_line/model/__init__.py new file mode 100644 index 00000000000..c8ffbeab730 --- /dev/null +++ b/sale_sourced_by_line/model/__init__.py @@ -0,0 +1,6 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import sale diff --git a/sale_sourced_by_line/model/sale.py b/sale_sourced_by_line/model/sale.py new file mode 100644 index 00000000000..b27b34d31dd --- /dev/null +++ b/sale_sourced_by_line/model/sale.py @@ -0,0 +1,68 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + + +from odoo import api, fields, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + warehouse_id = fields.Many2one( + "stock.warehouse", + string="Default Warehouse", + readonly=True, + help="If no source warehouse is selected on line, " + "this warehouse is used as default. ", + ) + + +class SaleOrderLine(models.Model): + _inherit = "sale.order.line" + + @api.depends( + "route_id", "order_id.warehouse_id", "product_packaging_id", "product_id" + ) + def _compute_warehouse_id(self): + """compute the warehouse for the lines only + if it has not already been set.""" + lines = self.filtered(lambda rec: not rec.warehouse_id) + return super(SaleOrderLine, lines)._compute_warehouse_id() + + def _prepare_procurement_group_vals(self): + vals = super()._prepare_procurement_group_vals() + # for compatibility with sale_quotation_sourcing + if self._get_procurement_group_key()[0] == 10: + if self.warehouse_id: + vals["name"] += "/" + self.warehouse_id.name + return vals + + def _prepare_procurement_values(self, group_id=False): + """Prepare specific key for moves or other components + that will be created from a stock rule + comming from a sale order line. This method could be + override in order to add other custom key that could + be used in move/po creation. + """ + values = super()._prepare_procurement_values(group_id) + self.ensure_one() + if self.warehouse_id: + values["warehouse_id"] = self.warehouse_id + return values + + def _get_procurement_group_key(self): + """Return a key with priority to be used to regroup lines in multiple + procurement groups + + """ + priority = 10 + key = super()._get_procurement_group_key() + # Check priority + if key[0] >= priority: + return key + wh_id = ( + self.warehouse_id.id if self.warehouse_id else self.order_id.warehouse_id.id + ) + return priority, wh_id diff --git a/sale_sourced_by_line/pyproject.toml b/sale_sourced_by_line/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/sale_sourced_by_line/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_sourced_by_line/static/description/icon.png b/sale_sourced_by_line/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/sale_sourced_by_line/static/description/icon.png differ diff --git a/sale_sourced_by_line/tests/__init__.py b/sale_sourced_by_line/tests/__init__.py new file mode 100644 index 00000000000..487347a027d --- /dev/null +++ b/sale_sourced_by_line/tests/__init__.py @@ -0,0 +1,7 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + + +from . import test_sale_sourced_by_line diff --git a/sale_sourced_by_line/tests/test_sale_sourced_by_line.py b/sale_sourced_by_line/tests/test_sale_sourced_by_line.py new file mode 100644 index 00000000000..fcfc516647c --- /dev/null +++ b/sale_sourced_by_line/tests/test_sale_sourced_by_line.py @@ -0,0 +1,136 @@ +# Copyright 2013-2014 Camptocamp SA - Guewen Baconnier +# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo.addons.base.tests.common import BaseCommon + + +class TestSaleSourcedByLine(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.sale_order_model = cls.env["sale.order"] + cls.sale_order_line_model = cls.env["sale.order.line"] + cls.stock_move_model = cls.env["stock.move"] + cls.stock_warehouse_model = cls.env["stock.warehouse"] + + # Refs + cls.customer = cls.env.ref("base.res_partner_2") + cls.product_1 = cls.env.ref("product.product_product_27") + cls.product_2 = cls.env.ref("product.product_product_24") + cls.warehouse0 = cls.env.ref("stock.warehouse0") + cls.warehouse1 = cls.stock_warehouse_model.create( + {"name": "Test Warehouse", "code": "TWH"} + ) + + def test_sales_order_multi_source(self): + so = self.sale_order_model.create( + { + "partner_id": self.customer.id, + } + ) + self.sale_order_line_model.create( + { + "product_id": self.product_1.id, + "product_uom_qty": 8, + "warehouse_id": self.warehouse1.id, + "order_id": so.id, + } + ) + self.sale_order_line_model.create( + { + "product_id": self.product_2.id, + "product_uom_qty": 8, + "warehouse_id": self.warehouse0.id, + "order_id": so.id, + } + ) + # confirm quotation + so.action_confirm() + self.assertEqual( + len(so.picking_ids), + 2, + f"2 delivery orders expected. Got {len(so.picking_ids)} instead", + ) + for line in so.order_line: + self.assertEqual( + line.procurement_group_id.name, + line.order_id.name + "/" + line.warehouse_id.name, + "The name of the procurement group is not " "correct.", + ) + moves = self.stock_move_model.search( + [("group_id", "=", line.procurement_group_id.id)] + ) + for move in moves: + self.assertEqual( + move.group_id, + line.procurement_group_id, + "The group in the stock move does not " + "match with the procurement group in " + "the sales order line.", + ) + self.assertEqual( + move.picking_id.group_id, + line.procurement_group_id, + "The group in the stock picking does " + "not match with the procurement group " + "in the sales order line.", + ) + + def test_sales_order_no_source(self): + so = self.sale_order_model.create( + { + "partner_id": self.customer.id, + "warehouse_id": self.warehouse1.id, + } + ) + self.sale_order_line_model.create( + {"product_id": self.product_1.id, "product_uom_qty": 8, "order_id": so.id} + ) + self.sale_order_line_model.create( + {"product_id": self.product_2.id, "product_uom_qty": 8, "order_id": so.id} + ) + # confirm quotation + so.action_confirm() + self.assertEqual( + len(so.picking_ids), + 1, + f"1 delivery order expected. Got {len(so.picking_ids)} instead", + ) + + def test_sale_order_source(self): + so = self.sale_order_model.create( + { + "partner_id": self.customer.id, + } + ) + self.sale_order_line_model.create( + { + "product_id": self.product_1.id, + "product_uom_qty": 8, + "warehouse_id": self.warehouse1.id, + "order_id": so.id, + } + ) + self.sale_order_line_model.create( + { + "product_id": self.product_2.id, + "product_uom_qty": 8, + "warehouse_id": self.warehouse0.id, + "order_id": so.id, + } + ) + # confirm quotation + so.action_confirm() + for line in so.order_line: + moves = self.stock_move_model.search( + [("group_id", "=", line.procurement_group_id.id)] + ) + for move in moves: + self.assertEqual( + move.warehouse_id, + line.warehouse_id, + "The warehouse in the stock move does not " + "match with the Sales order line.", + ) diff --git a/sale_sourced_by_line/view/sale_view.xml b/sale_sourced_by_line/view/sale_view.xml new file mode 100644 index 00000000000..389d301a42b --- /dev/null +++ b/sale_sourced_by_line/view/sale_view.xml @@ -0,0 +1,34 @@ + + + + sale.order.form + sale.order + + + + + + + + + sale.order.form + sale.order + + + + + + + {'default_warehouse_id': warehouse_id} + + + +