From 766648f3f0fae35188c0c1f3730dcc7ade3a94a4 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Tue, 8 Jan 2019 13:51:32 +0100 Subject: [PATCH] [11.0][IMP] stock_request: allow to request from all locations types. (#523) --- stock_request/README.rst | 1 + stock_request/__manifest__.py | 2 +- stock_request/i18n/ca.po | 49 ++++++++++--- stock_request/i18n/de.po | 50 ++++++++++--- stock_request/i18n/el_GR.po | 49 ++++++++++--- stock_request/i18n/es.po | 55 ++++++++++---- stock_request/i18n/es_ES.po | 49 ++++++++++--- stock_request/i18n/eu.po | 49 ++++++++++--- stock_request/i18n/fi.po | 49 ++++++++++--- stock_request/i18n/fr.po | 49 ++++++++++--- stock_request/i18n/fr_CH.po | 49 ++++++++++--- stock_request/i18n/fr_FR.po | 49 ++++++++++--- stock_request/i18n/gl.po | 49 ++++++++++--- stock_request/i18n/hr.po | 49 ++++++++++--- stock_request/i18n/hr_HR.po | 49 ++++++++++--- stock_request/i18n/it.po | 49 ++++++++++--- stock_request/i18n/nl.po | 49 ++++++++++--- stock_request/i18n/nl_NL.po | 49 ++++++++++--- stock_request/i18n/pt.po | 49 ++++++++++--- stock_request/i18n/pt_BR.po | 49 ++++++++++--- stock_request/i18n/ro.po | 49 ++++++++++--- stock_request/i18n/ru.po | 49 ++++++++++--- stock_request/i18n/sl.po | 49 ++++++++++--- stock_request/i18n/stock_request.pot | 47 +++++++++--- stock_request/i18n/tr.po | 49 ++++++++++--- stock_request/i18n/tr_TR.po | 49 ++++++++++--- stock_request/i18n/vi_VN.po | 49 ++++++++++--- stock_request/i18n/zh_CN.po | 49 ++++++++++--- stock_request/models/__init__.py | 1 + stock_request/models/res_company.py | 14 ++++ stock_request/models/res_config_settings.py | 3 + .../models/stock_request_abstract.py | 23 ++++-- stock_request/models/stock_request_order.py | 8 +++ stock_request/tests/test_stock_request.py | 72 +++++++++++++++---- .../views/res_config_settings_views.xml | 13 +++- .../views/stock_request_order_views.xml | 1 + stock_request/views/stock_request_views.xml | 1 + 37 files changed, 1111 insertions(+), 307 deletions(-) create mode 100644 stock_request/models/res_company.py diff --git a/stock_request/README.rst b/stock_request/README.rst index 518182be63db..f78565845778 100644 --- a/stock_request/README.rst +++ b/stock_request/README.rst @@ -73,6 +73,7 @@ Contributors * Jordi Ballester (EFICENT) . * Enric Tobella * Atte Isopuro +* Lois Rilo Maintainer ---------- diff --git a/stock_request/__manifest__.py b/stock_request/__manifest__.py index 87cd780028bc..857604ee09e6 100644 --- a/stock_request/__manifest__.py +++ b/stock_request/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Stock Request", "summary": "Internal request for stock", - "version": "11.0.3.0.0", + "version": "11.0.3.1.0", "license": "LGPL-3", "website": "https://github.com/stock-logistics-warehouse", "author": "Eficent, " diff --git a/stock_request/i18n/ca.po b/stock_request/i18n/ca.po index c948a8d34413..f2fdaa5d8913 100644 --- a/stock_request/i18n/ca.po +++ b/stock_request/i18n/ca.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/de.po b/stock_request/i18n/de.po index 07e70b416a80..550c4e01bca4 100644 --- a/stock_request/i18n/de.po +++ b/stock_request/i18n/de.po @@ -35,11 +35,33 @@ msgstr "Anforderungs-Anwender" msgid "Allocated Quantity" msgstr "Zugeordnete Menge" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "Archiviert" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,12 @@ msgstr "Abgebrochen" msgid "Click to add a Stock Request." msgstr "Klicken, um eine Bestandaanforderung zu stellen." +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +#, fuzzy +msgid "Companies" +msgstr "Unternehmen" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -168,7 +196,7 @@ msgstr "Anforderungs-Anwender" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "ID" @@ -268,7 +296,7 @@ msgid "Name must be unique" msgstr "Bezeichner der Anforderung muss eindeutig sein" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -297,7 +325,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -618,13 +646,13 @@ msgstr "Bestandsanforderungen" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -657,7 +685,7 @@ msgid "Transfers" msgstr "Umlagerungen" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -736,31 +764,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/el_GR.po b/stock_request/i18n/el_GR.po index fc29cad62fc9..31701ce68dea 100644 --- a/stock_request/i18n/el_GR.po +++ b/stock_request/i18n/el_GR.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/es.po b/stock_request/i18n/es.po index d2142b43b9dd..a145953bc1c9 100644 --- a/stock_request/i18n/es.po +++ b/stock_request/i18n/es.po @@ -36,11 +36,33 @@ msgstr "Activa las Solicitudes de existencias" msgid "Allocated Quantity" msgstr "Cantidad reservada" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "Archivado" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -57,6 +79,12 @@ msgstr "Cancelado" msgid "Click to add a Stock Request." msgstr "Pulse para añadir una solicitud de existencias." +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +#, fuzzy +msgid "Companies" +msgstr "Compañía" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -164,7 +192,7 @@ msgstr "Agrupa las solicitudes en pedidos" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "ID" @@ -263,7 +291,7 @@ msgid "Name must be unique" msgstr "El nombre debe ser único" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "Solo los pedidos en estado borrado pueden ser eliminadas" @@ -291,8 +319,8 @@ msgstr "Pedido" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" -msgstr "Pedidos" +msgid "Orders & Configuration" +msgstr "" #. module: stock_request #: model:ir.model,name:stock_request.model_stock_move_line @@ -607,13 +635,13 @@ msgstr "Solicitudes de existencias" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "La compañía de la solicitud debe coincidir con la de la localización." #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "La compañía de la solicitud debe coincidir con la del almacén." @@ -646,7 +674,7 @@ msgid "Transfers" msgstr "Transferencias" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -737,31 +765,31 @@ msgstr "" "de existencias que pertenecen a otras compañías." #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "Ha seleccionado una localización que está asignada a otra compañía." #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "Ha seleccionado un producto que está asignado a otra compañía." #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "Ha seleccionado una ruta que está asignada a otra compañía." #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "Ha seleccionado un almacén que está asignado a otra compañía." #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " @@ -774,3 +802,6 @@ msgstr "" #: model:ir.model,name:stock_request.model_res_config_settings msgid "res.config.settings" msgstr "res.config.settings" + +#~ msgid "Orders" +#~ msgstr "Pedidos" diff --git a/stock_request/i18n/es_ES.po b/stock_request/i18n/es_ES.po index 743783fec8bc..ff10b7ab5299 100644 --- a/stock_request/i18n/es_ES.po +++ b/stock_request/i18n/es_ES.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/eu.po b/stock_request/i18n/eu.po index 060a3a7cde7a..06fe506b2075 100644 --- a/stock_request/i18n/eu.po +++ b/stock_request/i18n/eu.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/fi.po b/stock_request/i18n/fi.po index 7f49b77c9178..cab2c7ead3ce 100644 --- a/stock_request/i18n/fi.po +++ b/stock_request/i18n/fi.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/fr.po b/stock_request/i18n/fr.po index 20881a34be32..0b42811965f8 100644 --- a/stock_request/i18n/fr.po +++ b/stock_request/i18n/fr.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/fr_CH.po b/stock_request/i18n/fr_CH.po index 3199c43a2db0..734266462459 100644 --- a/stock_request/i18n/fr_CH.po +++ b/stock_request/i18n/fr_CH.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/fr_FR.po b/stock_request/i18n/fr_FR.po index b004b0538fc1..778f023e177d 100644 --- a/stock_request/i18n/fr_FR.po +++ b/stock_request/i18n/fr_FR.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/gl.po b/stock_request/i18n/gl.po index 3218caf23add..e7ac2361d2c2 100644 --- a/stock_request/i18n/gl.po +++ b/stock_request/i18n/gl.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/hr.po b/stock_request/i18n/hr.po index d54a43efaf34..bf45536ecfb0 100644 --- a/stock_request/i18n/hr.po +++ b/stock_request/i18n/hr.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/hr_HR.po b/stock_request/i18n/hr_HR.po index 9baffd1e00d7..2be2ec5dd6cc 100644 --- a/stock_request/i18n/hr_HR.po +++ b/stock_request/i18n/hr_HR.po @@ -36,11 +36,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -57,6 +79,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -164,7 +191,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -260,7 +287,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -288,7 +315,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -600,13 +627,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -637,7 +664,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -716,31 +743,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/it.po b/stock_request/i18n/it.po index 6418ed9f1b4e..9acbb0c0b4c9 100644 --- a/stock_request/i18n/it.po +++ b/stock_request/i18n/it.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/nl.po b/stock_request/i18n/nl.po index f51a997746c0..d9599fe57b8a 100644 --- a/stock_request/i18n/nl.po +++ b/stock_request/i18n/nl.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/nl_NL.po b/stock_request/i18n/nl_NL.po index 6fddee75a3f5..aa3c8b67a834 100644 --- a/stock_request/i18n/nl_NL.po +++ b/stock_request/i18n/nl_NL.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/pt.po b/stock_request/i18n/pt.po index 7423943c42bb..5cb7120caa5f 100644 --- a/stock_request/i18n/pt.po +++ b/stock_request/i18n/pt.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/pt_BR.po b/stock_request/i18n/pt_BR.po index 870b61006e80..6ef5a44dead2 100644 --- a/stock_request/i18n/pt_BR.po +++ b/stock_request/i18n/pt_BR.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/ro.po b/stock_request/i18n/ro.po index 23db032c234b..5d1110fcf0fc 100644 --- a/stock_request/i18n/ro.po +++ b/stock_request/i18n/ro.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/ru.po b/stock_request/i18n/ru.po index 4863eb9ab9ad..2a1501fe938e 100644 --- a/stock_request/i18n/ru.po +++ b/stock_request/i18n/ru.po @@ -36,11 +36,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -57,6 +79,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -164,7 +191,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -260,7 +287,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -288,7 +315,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -600,13 +627,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -637,7 +664,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -716,31 +743,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/sl.po b/stock_request/i18n/sl.po index 0d72c3330080..6d65205dfaf9 100644 --- a/stock_request/i18n/sl.po +++ b/stock_request/i18n/sl.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/stock_request.pot b/stock_request/i18n/stock_request.pot index 391ce544321d..96764c3c4f08 100644 --- a/stock_request/i18n/stock_request.pot +++ b/stock_request/i18n/stock_request.pot @@ -29,11 +29,31 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "By default only internal and transit locations are allowed in Stock Request and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -51,6 +71,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -160,7 +185,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -255,7 +280,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -283,7 +308,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -592,13 +617,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -627,7 +652,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "Unfortunately it seems you do not have the necessary rights for creating stock requests. Please contact your administrator." msgstr "" @@ -694,31 +719,31 @@ msgid "You cannot change the company of the warehouse, as it is already assigned msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "You have to select a product unit of measure in the same category than the default unit of measure of the product" msgstr "" diff --git a/stock_request/i18n/tr.po b/stock_request/i18n/tr.po index 036a095f06d9..048ac756b7a8 100644 --- a/stock_request/i18n/tr.po +++ b/stock_request/i18n/tr.po @@ -34,11 +34,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -55,6 +77,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -162,7 +189,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -258,7 +285,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -286,7 +313,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -598,13 +625,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -635,7 +662,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -714,31 +741,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/tr_TR.po b/stock_request/i18n/tr_TR.po index 1a0d96f3c579..a9d41f61c9c4 100644 --- a/stock_request/i18n/tr_TR.po +++ b/stock_request/i18n/tr_TR.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/vi_VN.po b/stock_request/i18n/vi_VN.po index cc71ab0d4136..8509622fa2e9 100644 --- a/stock_request/i18n/vi_VN.po +++ b/stock_request/i18n/vi_VN.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/i18n/zh_CN.po b/stock_request/i18n/zh_CN.po index 3e540e0290e1..bffd9e38c510 100644 --- a/stock_request/i18n/zh_CN.po +++ b/stock_request/i18n/zh_CN.po @@ -35,11 +35,33 @@ msgstr "" msgid "Allocated Quantity" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "Allow All Locations Types" +msgstr "" + +#. module: stock_request +#: model:ir.model.fields,field_description:stock_request.field_res_company_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_res_config_settings_stock_request_allow_virtual_loc +#: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_kanban_allow_virtual_location +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_allow_virtual_location +msgid "Allow Virtual locations on Stock Requests" +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_search msgid "Archived" msgstr "" +#. module: stock_request +#: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form +msgid "" +"By default only internal and transit locations are allowed in Stock Request " +"and Orders." +msgstr "" + #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.stock_request_order_form #: model:ir.ui.view,arch_db:stock_request.view_stock_request_form @@ -56,6 +78,11 @@ msgstr "" msgid "Click to add a Stock Request." msgstr "" +#. module: stock_request +#: model:ir.model,name:stock_request.model_res_company +msgid "Companies" +msgstr "" + #. module: stock_request #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_company_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_company_id @@ -163,7 +190,7 @@ msgstr "" #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_allocation_id #: model:ir.model.fields,field_description:stock_request.field_stock_request_id -#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5323 +#: model:ir.model.fields,field_description:stock_request.field_stock_request_order_id_5326 msgid "ID" msgstr "" @@ -259,7 +286,7 @@ msgid "Name must be unique" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:255 +#: code:addons/stock_request/models/stock_request_order.py:263 #, python-format msgid "Only orders on draft state can be unlinked" msgstr "" @@ -287,7 +314,7 @@ msgstr "" #. module: stock_request #: model:ir.ui.view,arch_db:stock_request.res_config_settings_view_form -msgid "Orders" +msgid "Orders & Configuration" msgstr "" #. module: stock_request @@ -599,13 +626,13 @@ msgstr "" #. module: stock_request #: code:addons/stock_request/models/stock_move.py:38 -#: code:addons/stock_request/models/stock_request_order.py:272 +#: code:addons/stock_request/models/stock_request_order.py:280 #, python-format msgid "The company of the stock request must match with that of the location." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:263 +#: code:addons/stock_request/models/stock_request_order.py:271 #, python-format msgid "The company of the stock request must match with that of the warehouse." msgstr "" @@ -636,7 +663,7 @@ msgid "Transfers" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_order.py:302 +#: code:addons/stock_request/models/stock_request_order.py:310 #, python-format msgid "" "Unfortunately it seems you do not have the necessary rights for creating " @@ -715,31 +742,31 @@ msgid "" msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:134 +#: code:addons/stock_request/models/stock_request_abstract.py:137 #, python-format msgid "You have entered a location that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:129 +#: code:addons/stock_request/models/stock_request_abstract.py:132 #, python-format msgid "You have entered a product that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:143 +#: code:addons/stock_request/models/stock_request_abstract.py:146 #, python-format msgid "You have entered a route that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:138 +#: code:addons/stock_request/models/stock_request_abstract.py:141 #, python-format msgid "You have entered a warehouse that is assigned to another company." msgstr "" #. module: stock_request -#: code:addons/stock_request/models/stock_request_abstract.py:153 +#: code:addons/stock_request/models/stock_request_abstract.py:156 #, python-format msgid "" "You have to select a product unit of measure in the same category than the " diff --git a/stock_request/models/__init__.py b/stock_request/models/__init__.py index d1c9d267e861..6d87138e8219 100644 --- a/stock_request/models/__init__.py +++ b/stock_request/models/__init__.py @@ -10,3 +10,4 @@ from . import stock_warehouse from . import stock_location from . import stock_location_route +from . import res_company diff --git a/stock_request/models/res_company.py b/stock_request/models/res_company.py new file mode 100644 index 000000000000..998edf78f9ae --- /dev/null +++ b/stock_request/models/res_company.py @@ -0,0 +1,14 @@ +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = 'res.company' + + stock_request_allow_virtual_loc = fields.Boolean( + string='Allow Virtual locations on Stock Requests', + ) diff --git a/stock_request/models/res_config_settings.py b/stock_request/models/res_config_settings.py index e776dce904d6..4f171a014396 100644 --- a/stock_request/models/res_config_settings.py +++ b/stock_request/models/res_config_settings.py @@ -15,3 +15,6 @@ class ResConfigSettings(models.TransientModel): module_stock_request_kanban = fields.Boolean( string='Stock Requests Kanban integration') + + stock_request_allow_virtual_loc = fields.Boolean( + related='company_id.stock_request_allow_virtual_loc') diff --git a/stock_request/models/stock_request_abstract.py b/stock_request/models/stock_request_abstract.py index 176109c40b72..4cfbe6b1a473 100644 --- a/stock_request/models/stock_request_abstract.py +++ b/stock_request/models/stock_request_abstract.py @@ -47,6 +47,9 @@ def _compute_product_qty(self): domain=[('type', 'in', ['product', 'consu'])], ondelete='cascade', required=True, ) + allow_virtual_location = fields.Boolean( + related='company_id.stock_request_allow_virtual_loc', + ) product_uom_id = fields.Many2one( 'product.uom', 'Product Unit of Measure', required=True, @@ -158,6 +161,12 @@ def _check_product_uom(self): def onchange_warehouse_id(self): """ Finds location id for changed warehouse. """ res = {'domain': {}} + if self._name == 'stock.request' and self.order_id: + # When the stock request is created from an order the wh and + # location are taken from the order and we rely on it to change + # all request associated. Thus, no need to apply + # the onchange, as it could lead to inconsistencies. + return res if self.warehouse_id: loc_wh = self.location_id.sudo().get_warehouse() if self.warehouse_id != loc_wh: @@ -168,13 +177,17 @@ def onchange_warehouse_id(self): @api.onchange('location_id') def onchange_location_id(self): - res = {'domain': {}} if self.location_id: - loc_wh = self.location_id.get_warehouse() - if self.warehouse_id != loc_wh: + loc_wh = self.location_id.sudo().get_warehouse() + if loc_wh and self.warehouse_id != loc_wh: self.warehouse_id = loc_wh - self.onchange_warehouse_id() - return res + self.with_context( + no_change_childs=True).onchange_warehouse_id() + + @api.onchange('allow_virtual_location') + def onchange_allow_virtual_location(self): + if self.allow_virtual_location: + return {'domain': {'location_id': []}} @api.onchange('company_id') def onchange_company_id(self): diff --git a/stock_request/models/stock_request_order.py b/stock_request/models/stock_request_order.py index a41239404847..b44d9090754a 100644 --- a/stock_request/models/stock_request_order.py +++ b/stock_request/models/stock_request_order.py @@ -54,6 +54,9 @@ def _get_default_requested_by(self): ondelete="cascade", required=True, states={'draft': [('readonly', False)]}, ) + allow_virtual_location = fields.Boolean( + related='company_id.stock_request_allow_virtual_loc', + ) procurement_group_id = fields.Many2one( 'procurement.group', 'Procurement Group', readonly=True, states={'draft': [('readonly', False)]}, @@ -145,6 +148,11 @@ def onchange_location_id(self): no_change_childs=True).onchange_warehouse_id() self.change_childs() + @api.onchange('allow_virtual_location') + def onchange_allow_virtual_location(self): + if self.allow_virtual_location: + return {'domain': {'location_id': []}} + @api.onchange('warehouse_id') def onchange_warehouse_id(self): if self.warehouse_id: diff --git a/stock_request/tests/test_stock_request.py b/stock_request/tests/test_stock_request.py index 2664590a5af8..15a07ff7b89f 100644 --- a/stock_request/tests/test_stock_request.py +++ b/stock_request/tests/test_stock_request.py @@ -12,6 +12,7 @@ def setUp(self): # common models self.stock_request = self.env['stock.request'] + self.request_order = self.env['stock.request.order'] # refs self.stock_request_user_group = \ @@ -21,6 +22,7 @@ def setUp(self): self.main_company = self.env.ref('base.main_company') self.warehouse = self.env.ref('stock.warehouse0') self.categ_unit = self.env.ref('product.product_uom_categ_unit') + self.virtual_loc = self.env.ref('stock.stock_location_customers') # common data self.company_2 = self.env['res.company'].create({ @@ -141,7 +143,7 @@ def test_defaults(self): def test_defaults_order(self): vals = {} - order = self.env['stock.request.order'].sudo( + order = self.request_order.sudo( self.stock_request_user.id).with_context( company_id=self.main_company.id).create(vals) @@ -168,7 +170,7 @@ def test_onchanges_order(self): 'location_id': self.warehouse.lot_stock_id.id, })] } - order = self.env['stock.request.order'].sudo( + order = self.request_order.sudo( self.stock_request_user).new(vals) self.stock_request_user.company_id = self.company_2 order.company_id = self.company_2 @@ -301,7 +303,7 @@ def test_stock_request_order_validations_01(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_order_validations_02(self): @@ -324,7 +326,7 @@ def test_stock_request_order_validations_02(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_order_validations_03(self): @@ -349,7 +351,7 @@ def test_stock_request_order_validations_03(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_order_validations_04(self): @@ -376,7 +378,7 @@ def test_stock_request_order_validations_04(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_order_validations_05(self): @@ -399,7 +401,7 @@ def test_stock_request_order_validations_05(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_order_validations_06(self): @@ -423,7 +425,7 @@ def test_stock_request_order_validations_06(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo().create(vals) + self.request_order.sudo().create(vals) def test_stock_request_order_validations_07(self): """ Testing the discrepancy in picking policy between @@ -446,7 +448,7 @@ def test_stock_request_order_validations_07(self): })] } with self.assertRaises(exceptions.ValidationError): - self.env['stock.request.order'].sudo( + self.request_order.sudo( self.stock_request_user).create(vals) def test_stock_request_validations_01(self): @@ -498,7 +500,7 @@ def test_create_request_01(self): })] } - order = self.env['stock.request.order'].sudo( + order = self.request_order.sudo( self.stock_request_user).create(vals) stock_request = order.stock_request_ids @@ -628,7 +630,7 @@ def test_cancel_request(self): })] } - order = self.env['stock.request.order'].sudo( + order = self.request_order.sudo( self.stock_request_user).create(vals) self.product.route_ids = [(6, 0, self.route.ids)] @@ -685,7 +687,7 @@ def test_view_actions(self): })] } - order = self.env['stock.request.order'].sudo().create(vals) + order = self.request_order.sudo().create(vals) self.product.route_ids = [(6, 0, self.route.ids)] order.action_confirm() @@ -755,7 +757,7 @@ def test_stock_request_order_from_products(self): self._create_product( 'CODEB2', 'Product B2', self.main_company.id, product_tmpl_id=template_B.id, active=False) - Order = self.env['stock.request.order'] + Order = self.request_order # Selecting some variants and creating an order preexisting = Order.search([]) @@ -818,3 +820,47 @@ def test_stock_request_order_from_products(self): # Wrong model should just raise ValidationError with self.assertRaises(exceptions.ValidationError): Order._create_from_product_multiselect(self.stock_request_user) + + def test_allow_virtual_location(self): + self.main_company.stock_request_allow_virtual_loc = True + vals = { + 'product_id': self.product.id, + 'product_uom_id': self.product.uom_id.id, + 'product_uom_qty': 5.0, + 'company_id': self.main_company.id, + 'warehouse_id': self.warehouse.id, + 'location_id': self.virtual_loc.id, + } + stock_request = self.stock_request.sudo( + self.stock_request_user).create(vals) + stock_request.onchange_allow_virtual_location() + self.assertTrue(stock_request.allow_virtual_location) + vals = { + 'company_id': self.main_company.id, + 'warehouse_id': self.warehouse.id, + 'location_id': self.virtual_loc.id, + } + order = self.request_order.sudo( + self.stock_request_user).create(vals) + order.onchange_allow_virtual_location() + self.assertTrue(order.allow_virtual_location) + + def test_onchange_wh_no_effect_from_order(self): + vals = { + 'company_id': self.main_company.id, + 'warehouse_id': self.warehouse.id, + 'location_id': self.virtual_loc.id, + 'stock_request_ids': [(0, 0, { + 'product_id': self.product.id, + 'product_uom_id': self.product.uom_id.id, + 'product_uom_qty': 5.0, + 'company_id': self.main_company.id, + 'warehouse_id': self.warehouse.id, + 'location_id': self.virtual_loc.id, + })] + } + order = self.request_order.sudo( + self.stock_request_user).create(vals) + order.stock_request_ids.onchange_warehouse_id() + self.assertEqual( + order.stock_request_ids[0].location_id, self.virtual_loc) diff --git a/stock_request/views/res_config_settings_views.xml b/stock_request/views/res_config_settings_views.xml index a6a4c998132d..6ad6632ac591 100644 --- a/stock_request/views/res_config_settings_views.xml +++ b/stock_request/views/res_config_settings_views.xml @@ -16,7 +16,7 @@
-

Orders

+

Orders & Configuration

@@ -30,6 +30,17 @@
+
+
+ +
+
+
+

Purchases

diff --git a/stock_request/views/stock_request_order_views.xml b/stock_request/views/stock_request_order_views.xml index ef5275a164e6..b5420d8b8125 100644 --- a/stock_request/views/stock_request_order_views.xml +++ b/stock_request/views/stock_request_order_views.xml @@ -70,6 +70,7 @@ groups="stock.group_stock_multi_locations"/> + +