mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Migrate stock_mts_mto_rule to version 11
This commit is contained in:
committed by
Pierrick Brun
parent
f1e7542bf2
commit
b108d856ba
@@ -1,5 +1,5 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
||||
:target: https://www.gnu.org/licenses/agpl
|
||||
:alt: License: AGPL-3
|
||||
|
||||
==================
|
||||
@@ -34,6 +34,11 @@ A sale Order is made for 3 products A.
|
||||
|
||||
After validation, a purchase order with 2 products will be created.
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
You have to select 'Use MTO+MTS rules' on the company's warehouse form.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
@@ -42,12 +47,7 @@ You should not select both the mts+mto route and the mto route.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/153/10.0
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
You have to select 'Use MTO+MTS rules' on the company's warehouse form.
|
||||
:target: https://runbot.odoo-community.org/runbot/153/11.0
|
||||
|
||||
Known issues
|
||||
============
|
||||
@@ -74,6 +74,8 @@ Contributors
|
||||
|
||||
* Florian da Costa <florian.dacosta@akretion.com>
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{'name': 'Stock MTS+MTO Rule',
|
||||
'version': '10.0.1.0.0',
|
||||
'version': '11.0.1.0.0',
|
||||
'author': 'Akretion,Odoo Community Association (OCA)',
|
||||
'website': 'http://www.akretion.com',
|
||||
'license': 'AGPL-3',
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2018-02-27 11:37+0000\n"
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
|
||||
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/teams/23907/cs_CZ/)\n"
|
||||
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
|
||||
"teams/23907/cs_CZ/)\n"
|
||||
"Language: cs_CZ\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: cs_CZ\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Zakázka"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Pravidlo zadávání zakázek"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Zakázka"
|
||||
|
||||
@@ -12,47 +12,49 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr "Kann MTO-Regel zum Lager nicht finden"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr "Kann MTS-Regel zum Lager nicht finden"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr "Kann keine allg. MTO- oder MTS-Route finden"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr "Wähle aus MTO und MTS"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
"Wird diese neue Route in der Produktdetailsicht gewählt, wird eine "
|
||||
"Beschaffung nur dann bewirkt, wenn der Planbestand unter 0 fällt, "
|
||||
"anderenfalls wird das Produkt aus dem Bestand genommen."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
@@ -69,7 +71,7 @@ msgid "MTS Rule"
|
||||
msgstr "MTS-Regel"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr "MTS+MTO"
|
||||
@@ -80,25 +82,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr "MTO Auftragsfertigung + MTS Lagerfertigung"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr "MTO+MTS-Beschaffung"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Beschaffung"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Beschaffungsregel"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr "Beschaffungen"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -108,3 +101,15 @@ msgstr "Verwende MTO+MTS-Regeln"
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Lager"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr "Wähle aus MTO und MTS"
|
||||
|
||||
#~ msgid "Mto+Mts Procurement"
|
||||
#~ msgstr "MTO+MTS-Beschaffung"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Beschaffung"
|
||||
|
||||
#~ msgid "Procurements"
|
||||
#~ msgstr "Beschaffungen"
|
||||
|
||||
@@ -13,48 +13,50 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
||||
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2017\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr "No se puede encontrar un regla \"bajo pedido\" en el almacén"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr "No se puede encontrar una regla \"bajo existencias\" en el almacén"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
"No se puede encontrar una regla genérica MTS+MTO - \"bajo existencias+bajo "
|
||||
"pedido\"."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr "Escoja entre \"bajo existencias\" o \"bajo pedido\""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
"Si se selecciona esta nueva ruta en la vista formulario de producto, se "
|
||||
"creará un pedido de compra sólo si la cantidad virtual es menor de 0. Si no,"
|
||||
" se cogerá el producto desde existencias."
|
||||
"creará un pedido de compra sólo si la cantidad virtual es menor de 0. Si no, "
|
||||
"se cogerá el producto desde existencias."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
@@ -72,7 +74,7 @@ msgid "MTS Rule"
|
||||
msgstr "Regla \"bajo existencias\""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr "MTS+MTO"
|
||||
@@ -83,25 +85,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr "Bajo pedido + bajo existencias"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr "Abastecimiento MTO+MTS"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Abastecimiento"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Regla de abastecimiento"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr "Abastecimientos"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -111,3 +104,15 @@ msgstr "Usar reglas MTO+MTS"
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Almacén"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr "Escoja entre \"bajo existencias\" o \"bajo pedido\""
|
||||
|
||||
#~ msgid "Mto+Mts Procurement"
|
||||
#~ msgstr "Abastecimiento MTO+MTS"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
|
||||
#~ msgid "Procurements"
|
||||
#~ msgstr "Abastecimientos"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-07-28 02:58+0000\n"
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n"
|
||||
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/"
|
||||
"es_MX/)\n"
|
||||
"Language: es_MX\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es_MX\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Contratación"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Contratación"
|
||||
|
||||
@@ -13,14 +13,14 @@ msgstr ""
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2018\n"
|
||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
@@ -28,7 +28,7 @@ msgstr ""
|
||||
"l'entrepôt"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
@@ -36,30 +36,30 @@ msgstr ""
|
||||
"l'entrepôt"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr "Aucune règle par défaut MTS+MTO configurée. "
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr ""
|
||||
"Choisir entre MTS(Make To Stock: Produit géré en stock) et MTO(Make To "
|
||||
"Order: Produit fabriqué à la commande). "
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
"Si cette nouvelle route est sélectionnée sur la vue formulaire du produit, "
|
||||
"une commande d'achat sera créée seulement si le stock virtuel est inférieur "
|
||||
"à 0, sinon, le produit sera pris en stock."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
@@ -76,7 +76,7 @@ msgid "MTS Rule"
|
||||
msgstr "MTS: Produit stocké"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -87,25 +87,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Procurement"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Règle d'approvisionnement"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr "Approvisionnements"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -115,3 +106,14 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Entrepôt"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr ""
|
||||
#~ "Choisir entre MTS(Make To Stock: Produit géré en stock) et MTO(Make To "
|
||||
#~ "Order: Produit fabriqué à la commande). "
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Procurement"
|
||||
|
||||
#~ msgid "Procurements"
|
||||
#~ msgstr "Approvisionnements"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-07-28 02:58+0000\n"
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/fr_FR/)\n"
|
||||
"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/"
|
||||
"fr_FR/)\n"
|
||||
"Language: fr_FR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr_FR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,13 +80,9 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -91,11 +90,6 @@ msgstr ""
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
|
||||
@@ -13,44 +13,47 @@ msgstr ""
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>, 2018\n"
|
||||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: hr\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr "Nemogu naći MTO pravilo na skladištu"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr "Nemogu naći MTO pravilo na skladištu"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr "Nemogu naći nijedno generičko MTO+MTS pravilo."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr "Izaberite između MTO i MTS pravila"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
@@ -67,7 +70,7 @@ msgid "MTS Rule"
|
||||
msgstr "MTS pravilo"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr "MTS+MTO"
|
||||
@@ -78,25 +81,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr "Make To Order + Make To Stock"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr "Mto+Mts Nabava"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Nabava"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Pavilo nabave"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr "Nabave"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -106,3 +100,15 @@ msgstr "Koristi MTO+MTS pravila"
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Skladište"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr "Izaberite između MTO i MTS pravila"
|
||||
|
||||
#~ msgid "Mto+Mts Procurement"
|
||||
#~ msgstr "Mto+Mts Nabava"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Nabava"
|
||||
|
||||
#~ msgid "Procurements"
|
||||
#~ msgstr "Nabave"
|
||||
|
||||
@@ -12,42 +12,44 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: it\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +68,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +79,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Approvvigionamento"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Regola d'Approvvigionamento"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +98,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Magazzino"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Approvvigionamento"
|
||||
|
||||
@@ -12,42 +12,44 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +68,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,13 +79,9 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -91,11 +89,6 @@ msgstr ""
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
|
||||
@@ -11,45 +11,48 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-06-23 00:57+0000\n"
|
||||
"PO-Revision-Date: 2017-06-23 00:57+0000\n"
|
||||
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
|
||||
"teams/23907/nl_NL/)\n"
|
||||
"Language: nl_NL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nl_NL\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr "Kies tussen MTS en MTO"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,13 +80,9 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr "Op Order + Op Voorrad"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -91,11 +90,6 @@ msgstr ""
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Magazijn"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr "Kies tussen MTS en MTO"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-07-28 02:58+0000\n"
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
|
||||
"teams/23907/pt_BR/)\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_BR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Aprovisionamento"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Armazém"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Aprovisionamento"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2018-02-27 11:37+0000\n"
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
||||
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
|
||||
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/"
|
||||
"teams/23907/pt_PT/)\n"
|
||||
"Language: pt_PT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_PT\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Aquisições"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Aquisições"
|
||||
|
||||
@@ -12,42 +12,45 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
|
||||
"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2:1));\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Aprovizionare"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Aprovizionare"
|
||||
|
||||
@@ -12,42 +12,44 @@ msgstr ""
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
||||
"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sk\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +68,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +79,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Obstarávanie"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +98,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Obstarávanie"
|
||||
|
||||
@@ -12,47 +12,50 @@ msgstr ""
|
||||
"PO-Revision-Date: 2017-03-31 08:35+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sl\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr "Za skladišče ni pravila 'po naročilu'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr "Za skladišče ni pravila 'na zalogo'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr "Ni generične proge 'na zalogo' + 'po naročilu'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
msgstr "Izbira med 'Na zalogo' in 'Po naročilu'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
"Če je na prikazu obrazca proizvoda izbrana ta proga, se nabavni nalog "
|
||||
"ustvari le, če je navidezna zaloga manj od 0. V nasprotnem primeru se "
|
||||
"proizvod vzame iz zaloge."
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
@@ -69,7 +72,7 @@ msgid "MTS Rule"
|
||||
msgstr "Pravilo 'Na zalogo'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr "Na zalogo + Po naročilu"
|
||||
@@ -80,25 +83,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr "Naredi po naročilu + Naredi na zalogo"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
msgstr "Oskrbovanja 'po naročilu'+'na zalogo'"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Oskrbovanje"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr "Oskrbovalno pravilo"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr "Oskrbovanja"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -108,3 +102,15 @@ msgstr "Uporabi pravila Po naročilu + Na zalogo"
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr "Skladišče"
|
||||
|
||||
#~ msgid "Choose between MTS and MTO"
|
||||
#~ msgstr "Izbira med 'Na zalogo' in 'Po naročilu'"
|
||||
|
||||
#~ msgid "Mto+Mts Procurement"
|
||||
#~ msgstr "Oskrbovanja 'po naročilu'+'na zalogo'"
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Oskrbovanje"
|
||||
|
||||
#~ msgid "Procurements"
|
||||
#~ msgstr "Oskrbovanja"
|
||||
|
||||
91
stock_mts_mto_rule/i18n/stock_mts_mto_rule.pot
Normal file
91
stock_mts_mto_rule/i18n/stock_mts_mto_rule.pot
Normal file
@@ -0,0 +1,91 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_mts_mto_rule
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "If this new route is selected on product form view, a purchase order will be created only if the virtual stock is less than 0 else, the product will be taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid "Inconsistency between the source locations of the mts and mto rules linked to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mto_rule_id
|
||||
msgid "MTO Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mts_mto_rule_id
|
||||
msgid "MTO+MTS rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_rule_mts_rule_id
|
||||
msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:stock.location.route,name:stock_mts_mto_rule.route_mto_mts
|
||||
msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2018-02-27 11:37+0000\n"
|
||||
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
||||
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
|
||||
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
|
||||
"tr_TR/)\n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: tr_TR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Satın alma"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Satın alma"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-07-28 02:58+0000\n"
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\n"
|
||||
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/"
|
||||
"teams/23907/vi_VN/)\n"
|
||||
"Language: vi_VN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: vi_VN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "Mua sắm / Cung ứng"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Mua sắm / Cung ứng"
|
||||
|
||||
@@ -11,43 +11,46 @@ msgstr ""
|
||||
"POT-Creation-Date: 2017-07-28 02:58+0000\n"
|
||||
"PO-Revision-Date: 2017-07-28 02:58+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/"
|
||||
"zh_CN/)\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:36
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:35
|
||||
#, python-format
|
||||
msgid "Can't find MTO Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:43
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:42
|
||||
#, python-format
|
||||
msgid "Can't find MTS Rule on the warehouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:32
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:31
|
||||
#, python-format
|
||||
msgid "Can't find any generic MTS+MTO route."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/rule.py:18
|
||||
#, python-format
|
||||
msgid "Choose between MTS and MTO"
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be "
|
||||
"created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,help:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:27
|
||||
#, python-format
|
||||
msgid ""
|
||||
"If this new route is selected on product form view, a purchase order will be"
|
||||
" created only if the virtual stock is less than 0 else, the product will be "
|
||||
"taken from stocks"
|
||||
"Inconsistency between the source locations of the mts and mto rules linked "
|
||||
"to the procurement rule: %s! It should be the same."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
@@ -66,7 +69,7 @@ msgid "MTS Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: code:addons/stock_mts_mto_rule/model/warehouse.py:143
|
||||
#: code:addons/stock_mts_mto_rule/model/stock_warehouse.py:118
|
||||
#, python-format
|
||||
msgid "MTS+MTO"
|
||||
msgstr ""
|
||||
@@ -77,25 +80,16 @@ msgid "Make To Order + Make To Stock"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_id
|
||||
msgid "Mto+Mts Procurement"
|
||||
#: code:addons/stock_mts_mto_rule/model/procurement_rule.py:22
|
||||
#, python-format
|
||||
msgid "No MTS or MTO rule configured on procurement rule: %s!"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_order
|
||||
msgid "Procurement"
|
||||
msgstr "补货"
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_procurement_rule
|
||||
msgid "Procurement Rule"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_procurement_order_mts_mto_procurement_ids
|
||||
msgid "Procurements"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_mts_mto_rule
|
||||
#: model:ir.model.fields,field_description:stock_mts_mto_rule.field_stock_warehouse_mto_mts_management
|
||||
msgid "Use MTO+MTS rules"
|
||||
@@ -105,3 +99,6 @@ msgstr ""
|
||||
#: model:ir.model,name:stock_mts_mto_rule.model_stock_warehouse
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "补货"
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from . import rule
|
||||
from . import warehouse
|
||||
from . import procurement
|
||||
from . import procurement_rule
|
||||
from . import stock_warehouse
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class ProcurementOrder(models.Model):
|
||||
_inherit = 'procurement.order'
|
||||
|
||||
mts_mto_procurement_id = fields.Many2one(
|
||||
'procurement.order',
|
||||
string="Mto+Mts Procurement",
|
||||
copy=False)
|
||||
mts_mto_procurement_ids = fields.One2many(
|
||||
'procurement.order',
|
||||
'mts_mto_procurement_id',
|
||||
string="Procurements")
|
||||
|
||||
@api.multi
|
||||
def get_mto_qty_to_order(self):
|
||||
self.ensure_one()
|
||||
stock_location = self.warehouse_id.lot_stock_id.id
|
||||
proc_warehouse = self.with_context(location=stock_location)
|
||||
virtual_available = proc_warehouse.product_id.virtual_available
|
||||
qty_available = self.product_id.uom_id._compute_quantity(
|
||||
virtual_available, self.product_uom)
|
||||
|
||||
if qty_available > 0:
|
||||
if qty_available >= self.product_qty:
|
||||
return 0.0
|
||||
else:
|
||||
return self.product_qty - qty_available
|
||||
return self.product_qty
|
||||
|
||||
@api.multi
|
||||
def _get_mts_mto_procurement(self, rule, qty):
|
||||
self.ensure_one()
|
||||
origin = (self.group_id and (self.group_id.name + ":") or "") + \
|
||||
(self.rule_id and self.rule_id.name or self.origin or "/")
|
||||
return {
|
||||
'name': self.name,
|
||||
'origin': origin,
|
||||
'product_qty': qty,
|
||||
'rule_id': rule.id,
|
||||
'mts_mto_procurement_id': self.id,
|
||||
}
|
||||
|
||||
@api.multi
|
||||
def _check(self):
|
||||
self.ensure_one()
|
||||
if self.rule_id and \
|
||||
self.rule_id.action == 'split_procurement':
|
||||
cancel_proc_list = [x.state == 'cancel'
|
||||
for x in self.mts_mto_procurement_ids]
|
||||
done_cancel_test_list = [
|
||||
x.state in ('done', 'cancel')
|
||||
for x in self.mts_mto_procurement_ids]
|
||||
if all(cancel_proc_list):
|
||||
self.write({'state': 'cancel'})
|
||||
elif all(done_cancel_test_list):
|
||||
return True
|
||||
return super(ProcurementOrder, self)._check()
|
||||
|
||||
@api.multi
|
||||
def check(self, autocommit=False):
|
||||
res = super(ProcurementOrder, self).check(autocommit=autocommit)
|
||||
for procurement in self:
|
||||
if procurement.mts_mto_procurement_id:
|
||||
procurement.mts_mto_procurement_id.check(
|
||||
autocommit=autocommit)
|
||||
return res
|
||||
|
||||
@api.multi
|
||||
def _run(self):
|
||||
self.ensure_one()
|
||||
if self.rule_id and self.rule_id.action == 'split_procurement':
|
||||
if self.mts_mto_procurement_ids:
|
||||
return super(ProcurementOrder, self)._run()
|
||||
needed_qty = self.get_mto_qty_to_order()
|
||||
rule = self.rule_id
|
||||
if needed_qty == 0.0:
|
||||
mts_vals = self._get_mts_mto_procurement(
|
||||
rule.mts_rule_id, self.product_qty)
|
||||
mts_proc = self.copy(mts_vals)
|
||||
mts_proc.run()
|
||||
elif needed_qty == self.product_qty:
|
||||
mto_vals = self._get_mts_mto_procurement(
|
||||
rule.mto_rule_id, self.product_qty)
|
||||
mto_proc = self.copy(mto_vals)
|
||||
mto_proc.run()
|
||||
else:
|
||||
mts_qty = self.product_qty - needed_qty
|
||||
mts_vals = self._get_mts_mto_procurement(
|
||||
rule.mts_rule_id, mts_qty)
|
||||
mts_proc = self.copy(mts_vals)
|
||||
mts_proc.run()
|
||||
|
||||
mto_vals = self._get_mts_mto_procurement(
|
||||
rule.mto_rule_id, needed_qty)
|
||||
mto_proc = self.copy(mto_vals)
|
||||
mto_proc.run()
|
||||
|
||||
return super(ProcurementOrder, self)._run()
|
||||
70
stock_mts_mto_rule/model/procurement_rule.py
Normal file
70
stock_mts_mto_rule/model/procurement_rule.py
Normal file
@@ -0,0 +1,70 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models, api, fields, _
|
||||
from odoo.exceptions import UserError
|
||||
|
||||
|
||||
class ProcurementRule(models.Model):
|
||||
_inherit = 'procurement.rule'
|
||||
|
||||
action = fields.Selection(
|
||||
selection_add=[('split_procurement', 'Choose between MTS and MTO')])
|
||||
mts_rule_id = fields.Many2one(
|
||||
'procurement.rule', string="MTS Rule")
|
||||
mto_rule_id = fields.Many2one(
|
||||
'procurement.rule', string="MTO Rule")
|
||||
|
||||
@api.constrains('action', 'mts_rule_id', 'mto_rule_id')
|
||||
def _check_mts_mto_rule(self):
|
||||
for rule in self:
|
||||
if rule.action == 'split_procurement':
|
||||
if not rule.mts_rule_id or not rule.mto_rule_id:
|
||||
msg = _('No MTS or MTO rule configured on procurement '
|
||||
'rule: %s!') % (rule.name, )
|
||||
raise UserError(msg)
|
||||
if (rule.mts_rule_id.location_src_id.id !=
|
||||
rule.mto_rule_id.location_src_id.id):
|
||||
msg = _('Inconsistency between the source locations of '
|
||||
'the mts and mto rules linked to the procurement '
|
||||
'rule: %s! It should be the same.') % (rule.name,)
|
||||
raise UserError(msg)
|
||||
|
||||
@api.multi
|
||||
def get_mto_qty_to_order(self, product, product_qty, product_uom, values):
|
||||
self.ensure_one()
|
||||
src_location_id = self.mts_rule_id.location_src_id.id
|
||||
product_location = product.with_context(location=src_location_id)
|
||||
virtual_available = product_location.virtual_available
|
||||
qty_available = product.uom_id._compute_quantity(
|
||||
virtual_available, product_uom)
|
||||
|
||||
if qty_available > 0:
|
||||
if qty_available >= product_qty:
|
||||
return 0.0
|
||||
else:
|
||||
return product_qty - qty_available
|
||||
return product_qty
|
||||
|
||||
def _run_split_procurement(self, product_id, product_qty, product_uom,
|
||||
location_id, name, origin, values):
|
||||
|
||||
needed_qty = self.get_mto_qty_to_order(product_id, product_qty,
|
||||
product_uom, values)
|
||||
|
||||
if needed_qty == 0.0:
|
||||
getattr(self.mts_rule_id, '_run_%s' % self.mts_rule_id.action)(
|
||||
product_id, product_qty, product_uom, location_id, name,
|
||||
origin, values)
|
||||
elif needed_qty == product_qty:
|
||||
getattr(self.mto_rule_id, '_run_%s' % self.mto_rule_id.action)(
|
||||
product_id, product_qty, product_uom, location_id, name,
|
||||
origin, values)
|
||||
else:
|
||||
mts_qty = product_qty - needed_qty
|
||||
getattr(self.mts_rule_id, '_run_%s' % self.mts_rule_id.action)(
|
||||
product_id, mts_qty, product_uom, location_id, name, origin,
|
||||
values)
|
||||
getattr(self.mto_rule_id, '_run_%s' % self.mto_rule_id.action)(
|
||||
product_id, needed_qty, product_uom, location_id, name,
|
||||
origin, values)
|
||||
return True
|
||||
@@ -1,19 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models, api, fields
|
||||
from odoo.tools.translate import _
|
||||
|
||||
|
||||
class ProcurementRule(models.Model):
|
||||
_inherit = 'procurement.rule'
|
||||
|
||||
mts_rule_id = fields.Many2one('procurement.rule',
|
||||
string="MTS Rule")
|
||||
mto_rule_id = fields.Many2one('procurement.rule',
|
||||
string="MTO Rule")
|
||||
|
||||
@api.model
|
||||
def _get_action(self):
|
||||
return [('split_procurement', _('Choose between MTS and MTO'))] + \
|
||||
super(ProcurementRule, self)._get_action()
|
||||
@@ -1,11 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models, api, fields, exceptions
|
||||
from odoo.tools.translate import _
|
||||
|
||||
|
||||
class Warehouse(models.Model):
|
||||
class StockWarehouse(models.Model):
|
||||
_inherit = 'stock.warehouse'
|
||||
|
||||
mto_mts_management = fields.Boolean(
|
||||
@@ -57,41 +56,17 @@ class Warehouse(models.Model):
|
||||
"""
|
||||
Prevent changing standard MTO rules' action from "move"
|
||||
"""
|
||||
pull_rules_list = super(Warehouse, self)._get_mto_pull_rules_values(
|
||||
route_values)
|
||||
pull_rules_list = super(StockWarehouse, self).\
|
||||
_get_mto_pull_rules_values(route_values)
|
||||
for pull_rule in pull_rules_list:
|
||||
pull_rule['action'] = 'move'
|
||||
|
||||
return pull_rules_list
|
||||
|
||||
@api.multi
|
||||
def _get_push_pull_rules_values(
|
||||
self, route_values, values=None, push_values=None,
|
||||
pull_values=None, name_suffix=''):
|
||||
self.ensure_one()
|
||||
pull_obj = self.env['procurement.rule']
|
||||
res = super(Warehouse, self)._get_push_pull_rules_values(
|
||||
route_values, values=values, push_values=push_values,
|
||||
pull_values=pull_values, name_suffix=name_suffix)
|
||||
customer_location = self._get_partner_locations()
|
||||
location_id = customer_location[0].id
|
||||
if self.mto_mts_management:
|
||||
for pull in res[1]:
|
||||
if pull['location_id'] == location_id:
|
||||
pull_mto_mts = pull.copy()
|
||||
pull_mto_mts_id = pull_obj.create(pull_mto_mts)
|
||||
pull.update({
|
||||
'action': 'split_procurement',
|
||||
'mto_rule_id': pull_mto_mts_id.id,
|
||||
'mts_rule_id': pull_mto_mts_id.id,
|
||||
'sequence': 10
|
||||
})
|
||||
return res
|
||||
|
||||
@api.multi
|
||||
def create_routes(self):
|
||||
pull_model = self.env['procurement.rule']
|
||||
res = super(Warehouse, self).create_routes()
|
||||
res = super(StockWarehouse, self).create_routes()
|
||||
if self.mto_mts_management:
|
||||
mts_mto_pull_vals = self._get_mts_mto_rule()
|
||||
mts_mto_pull = pull_model.create(mts_mto_pull_vals)
|
||||
@@ -112,14 +87,14 @@ class Warehouse(models.Model):
|
||||
for warehouse in self:
|
||||
if warehouse.mts_mto_rule_id:
|
||||
warehouse.mts_mto_rule_id.unlink()
|
||||
res = super(Warehouse, self).write(vals)
|
||||
res = super(StockWarehouse, self).write(vals)
|
||||
if 'mto_mts_management' in vals:
|
||||
self.with_context({'active_test': False})._update_routes()
|
||||
return res
|
||||
|
||||
@api.model
|
||||
def get_all_routes_for_wh(self):
|
||||
all_routes = super(Warehouse, self).get_all_routes_for_wh()
|
||||
all_routes = super(StockWarehouse, self).get_all_routes_for_wh()
|
||||
|
||||
if self.mto_mts_management and self.mts_mto_rule_id.route_id:
|
||||
all_routes += self.mts_mto_rule_id.route_id
|
||||
@@ -128,7 +103,7 @@ class Warehouse(models.Model):
|
||||
|
||||
@api.multi
|
||||
def _update_name_and_code(self, name, code):
|
||||
res = super(Warehouse, self)._update_name_and_code(name, code)
|
||||
res = super(StockWarehouse, self)._update_name_and_code(name, code)
|
||||
if not name:
|
||||
return res
|
||||
for warehouse in self.filtered('mts_mto_rule_id'):
|
||||
@@ -144,12 +119,11 @@ class Warehouse(models.Model):
|
||||
if route_type in names:
|
||||
return names[route_type]
|
||||
|
||||
return super(Warehouse, self)._get_route_name(route_type)
|
||||
return super(StockWarehouse, self)._get_route_name(route_type)
|
||||
|
||||
@api.multi
|
||||
def _update_routes(self):
|
||||
res = super(Warehouse, self)._update_routes()
|
||||
|
||||
res = super(StockWarehouse, self)._update_routes()
|
||||
for warehouse in self:
|
||||
mts_mto_rule_id = warehouse.mts_mto_rule_id
|
||||
if warehouse.delivery_steps and mts_mto_rule_id:
|
||||
@@ -158,6 +132,7 @@ class Warehouse(models.Model):
|
||||
warehouse.mto_pull_id.location_id
|
||||
mts_rules = pull_model.search([
|
||||
('location_src_id', '=', warehouse.lot_stock_id.id),
|
||||
('location_id', '=', warehouse.mto_pull_id.location_id.id),
|
||||
('route_id', '=', warehouse.delivery_route_id.id),
|
||||
])
|
||||
warehouse.mts_mto_rule_id.mts_rule_id = mts_rules[0].id
|
||||
@@ -3,97 +3,74 @@
|
||||
|
||||
from odoo import exceptions
|
||||
from odoo.tests.common import TransactionCase
|
||||
from datetime import datetime
|
||||
|
||||
|
||||
class TestMtoMtsRoute(TransactionCase):
|
||||
|
||||
def _procurement_create(self):
|
||||
self.procurement = self.env['procurement.order'].create({
|
||||
'location_id': self.env.ref('stock.stock_location_customers').id,
|
||||
def _create_quant(self, qty):
|
||||
self.quant = self.env['stock.quant'].create({
|
||||
'owner_id': self.company_partner.id,
|
||||
'location_id': self.env.ref('stock.stock_location_stock').id,
|
||||
'product_id': self.product.id,
|
||||
'product_qty': 2.0,
|
||||
'product_uom': 1,
|
||||
'warehouse_id': self.warehouse.id,
|
||||
'priority': '1',
|
||||
'date_planned': datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||
'name': self.product.name,
|
||||
'origin': 'test',
|
||||
'group_id': self.group.id,
|
||||
'quantity': qty,
|
||||
})
|
||||
|
||||
def test_standard_mto_route(self):
|
||||
mto_route = self.env.ref('stock.route_warehouse0_mto')
|
||||
self.product.route_ids = [(6, 0, [mto_route.id])]
|
||||
self._procurement_create()
|
||||
self.assertEqual(self.warehouse.mto_pull_id,
|
||||
self.procurement.rule_id)
|
||||
self.assertEqual('make_to_order',
|
||||
self.procurement.move_ids[0].procure_method)
|
||||
self.assertEqual(self.procurement.product_qty,
|
||||
self.procurement.move_ids[0].product_uom_qty)
|
||||
self.assertEqual('waiting',
|
||||
self.procurement.move_ids[0].state)
|
||||
self.group.run(self.product, 2.0, self.uom, self.customer_loc,
|
||||
self.product.name, 'test', self.procurement_vals)
|
||||
moves = self.move_obj.search([('group_id', '=', self.group.id)])
|
||||
self.assertEqual(len(moves), 2)
|
||||
|
||||
def test_standard_mts_route(self):
|
||||
self._procurement_create()
|
||||
procurement_id = self.procurement_obj.search([
|
||||
('group_id', '=', self.procurement.group_id.id),
|
||||
('move_ids', '!=', False)], limit=1)
|
||||
self.assertEqual('make_to_stock',
|
||||
procurement_id.move_ids[0].procure_method)
|
||||
self.assertEqual(self.procurement.product_qty,
|
||||
procurement_id.move_ids[0].product_uom_qty)
|
||||
self.assertEqual('confirmed',
|
||||
procurement_id.move_ids[0].state)
|
||||
self.group.run(self.product, 2.0, self.uom, self.customer_loc,
|
||||
self.product.name, 'test', self.procurement_vals)
|
||||
moves = self.move_obj.search([('group_id', '=', self.group.id)])
|
||||
self.assertEqual(len(moves), 1)
|
||||
|
||||
def test_mts_mto_route_split(self):
|
||||
mto_mts_route = self.env.ref('stock_mts_mto_rule.route_mto_mts')
|
||||
self.product.route_ids = [(6, 0, [mto_mts_route.id])]
|
||||
self.quant.qty = 1.0
|
||||
self._procurement_create()
|
||||
self._create_quant(1.0)
|
||||
self.group.run(self.product, 2.0, self.uom, self.customer_loc,
|
||||
self.product.name, 'test', self.procurement_vals)
|
||||
moves = self.env['stock.move'].search(
|
||||
[('group_id', '=', self.group.id)])
|
||||
self.assertEqual(2, len(moves))
|
||||
self.assertEqual(1.0, moves[0].product_uom_qty)
|
||||
self.assertEqual(3, len(moves))
|
||||
move_mts = self.env['stock.move'].search(
|
||||
[('group_id', '=', self.group.id),
|
||||
('location_dest_id', '=', self.customer_loc.id),
|
||||
('procure_method', '=', 'make_to_stock')])
|
||||
self.assertEqual(1, len(move_mts))
|
||||
self.assertEqual(1.0, move_mts.product_uom_qty)
|
||||
self.assertEqual('confirmed', move_mts.state)
|
||||
move_mto = self.env['stock.move'].search(
|
||||
[('group_id', '=', self.group.id),
|
||||
('location_dest_id', '=', self.customer_loc.id),
|
||||
('procure_method', '=', 'make_to_order')])
|
||||
self.assertEqual(1, len(move_mto))
|
||||
self.assertEqual('waiting', move_mto.state)
|
||||
|
||||
def test_mts_mto_route_split_done(self):
|
||||
def test_mts_mto_route_mto_only(self):
|
||||
mto_mts_route = self.env.ref('stock_mts_mto_rule.route_mto_mts')
|
||||
self.product.route_ids = [(6, 0, [mto_mts_route.id])]
|
||||
self.quant.qty = 1.0
|
||||
self._procurement_create()
|
||||
self.assertEqual(self.procurement.state, 'running')
|
||||
self.procurement.mts_mto_procurement_ids.mapped(
|
||||
'move_ids').action_done()
|
||||
self.assertEqual(self.procurement.state, 'done')
|
||||
|
||||
def test_mts_mto_route_split_cancel(self):
|
||||
mto_mts_route = self.env.ref('stock_mts_mto_rule.route_mto_mts')
|
||||
self.product.route_ids = [(6, 0, [mto_mts_route.id])]
|
||||
self.quant.qty = 1.0
|
||||
self._procurement_create()
|
||||
self.procurement.mts_mto_procurement_ids.cancel()
|
||||
self.assertEqual(self.procurement.state, 'running')
|
||||
self.procurement.check()
|
||||
self.assertEqual(self.procurement.state, 'cancel')
|
||||
|
||||
def test_mts_mto_route_mts_only(self):
|
||||
mto_mts_route = self.env.ref('stock_mts_mto_rule.route_mto_mts')
|
||||
self.product.route_ids = [(6, 0, [mto_mts_route.id])]
|
||||
self.quant.qty = 0.0
|
||||
self._procurement_create()
|
||||
self.group.run(self.product, 2.0, self.uom, self.customer_loc,
|
||||
self.product.name, 'test', self.procurement_vals)
|
||||
moves = self.env['stock.move'].search(
|
||||
[('group_id', '=', self.group.id)])
|
||||
[('group_id', '=', self.group.id),
|
||||
('location_dest_id', '=', self.customer_loc.id)])
|
||||
self.assertEqual(1, len(moves))
|
||||
self.assertEqual(2.0, moves[0].product_uom_qty)
|
||||
self.assertEqual('make_to_order',
|
||||
moves[0].procure_method)
|
||||
|
||||
def test_mts_mto_route_mto_only(self):
|
||||
def test_mts_mto_route_mts_only(self):
|
||||
mto_mts_route = self.env.ref('stock_mts_mto_rule.route_mto_mts')
|
||||
self.product.route_ids = [(6, 0, [mto_mts_route.id])]
|
||||
self.quant.qty = 3.0
|
||||
self._procurement_create()
|
||||
self._create_quant(3.0)
|
||||
self.group.run(self.product, 2.0, self.uom, self.customer_loc,
|
||||
self.product.name, 'test', self.procurement_vals)
|
||||
moves = self.env['stock.move'].search(
|
||||
[('group_id', '=', self.group.id)])
|
||||
self.assertEqual(1, len(moves))
|
||||
@@ -101,6 +78,14 @@ class TestMtoMtsRoute(TransactionCase):
|
||||
self.assertEqual('make_to_stock',
|
||||
moves[0].procure_method)
|
||||
|
||||
def test_mts_mto_rule_contrains(self):
|
||||
rule = self.env['procurement.rule'].search(
|
||||
[('action', '=', 'split_procurement')], limit=1)
|
||||
with self.assertRaises(exceptions.ValidationError):
|
||||
rule.write({'mts_rule_id': False})
|
||||
with self.assertRaises(exceptions.ValidationError):
|
||||
rule.write({'mts_rule_id': self.dummy_rule.id})
|
||||
|
||||
def test_mts_mto_route_mto_removed(self):
|
||||
self.env.ref('stock_mts_mto_rule.route_mto_mts').unlink()
|
||||
self.warehouse.mts_mto_rule_id = False
|
||||
@@ -159,18 +144,36 @@ class TestMtoMtsRoute(TransactionCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestMtoMtsRoute, self).setUp()
|
||||
self.move_obj = self.env['stock.move']
|
||||
self.warehouse = self.env.ref('stock.warehouse0')
|
||||
self.uom = self.env['product.uom'].browse(1)
|
||||
self.warehouse.mto_mts_management = True
|
||||
self.customer_loc = self.env.ref('stock.stock_location_customers')
|
||||
self.product = self.env.ref('product.product_product_4')
|
||||
self.company_partner = self.env.ref('base.main_partner')
|
||||
self.procurement_obj = self.env['procurement.order']
|
||||
self.group = self.env['procurement.group'].create({
|
||||
'name': 'test',
|
||||
})
|
||||
|
||||
self.quant = self.env['stock.quant'].create({
|
||||
'owner_id': self.company_partner.id,
|
||||
self.procurement_vals = {
|
||||
'warehouse_id': self.warehouse, 'group_id': self.group
|
||||
}
|
||||
# Since mrp and purchase modules may not be installed, we need to
|
||||
# create a dummy step to show that mts, mto, and mts+mto flows work.
|
||||
# Else, if purchase/manufacture are not installed, the mto would fail.
|
||||
route_vals = {
|
||||
'warehouse_selectable': True,
|
||||
'name': 'dummy route',
|
||||
}
|
||||
self.dummy_route = self.env['stock.location.route'].create(route_vals)
|
||||
rule_vals = {
|
||||
'location_id': self.env.ref('stock.stock_location_stock').id,
|
||||
'product_id': self.product.id,
|
||||
'qty': 0.0,
|
||||
})
|
||||
'location_src_id': self.env.ref(
|
||||
'stock.stock_location_suppliers').id,
|
||||
'action': 'move',
|
||||
'warehouse_id': self.warehouse.id,
|
||||
'picking_type_id': self.env.ref('stock.picking_type_out').id,
|
||||
'name': 'dummy rule',
|
||||
'route_id': self.dummy_route.id,
|
||||
}
|
||||
self.dummy_rule = self.env['procurement.rule'].create(rule_vals)
|
||||
self.warehouse.write({'route_ids': [(4, self.dummy_route.id)]})
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<record id="view_procurement_rule_form_mto_mto" model="ir.ui.view">
|
||||
<field name="name">procurement.rule.mts.mto</field>
|
||||
<field name="model">procurement.rule</field>
|
||||
<field name="inherit_id" ref="procurement.view_procurement_rule_form" />
|
||||
<field name="inherit_id" ref="stock.view_procurement_rule_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="action" position="after">
|
||||
<field name="mts_rule_id"
|
||||
|
||||
Reference in New Issue
Block a user