[IMP] stock: improve move reservation
Currently stock moves are auto-assigned (i.e. reserve free stock) both when the scheduler is run and when a corresponding stock move that can assign a move is completed. This strictness was causing issues for prioritization of moves to assign, for example a picking with a scheduled_date far in the future could automatically reserve all stock if it was created before another picking that an immediate scheduled_date. To ease this, an extra setting has been added to stock.picking.type to let users choose how reservations should occur for moves assigned to that picking_type (or picking with that picking_type) when the move is already confirmed: 1. 'at_confirm' = automatically when new stock becomes available or when the scheduler is triggered. 2. 'manual' = user must always manually click "Check Availability" button (scheduler will no longer reserve). 3. 'by_date' = automatically when new stock becomes available or when the scheduler is run within the move's reservation_date. 'by_date' has an extra option of # days before the move's scheduled date that affects the move.reservation_date. Additionally, because this new feature overlaps with the `procurement_jit` module's functionality, we remove the module and ensure its logic is reproduced directly in `sale_stock`. Task: 2359317 Upgrade PR: odoo/upgrade#1868 ENT PR: odoo/enterprise#15050 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#60300 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,6 @@ import re
|
||||
|
||||
from collections import defaultdict
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from itertools import groupby
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.exceptions import AccessError, UserError
|
||||
|
||||
@@ -353,7 +353,8 @@ class TestProcurement(TestMrpCommon):
|
||||
2. There is not enough of a manufactured component to assign the created MO => auto-create 2nd MO
|
||||
3. Add an extra manufactured component (not in stock) to 1st MO => auto-create 3rd MO
|
||||
4. When 2nd MO is completed => auto-assign to 1st MO
|
||||
5. When 1st MO is completed => auto-assign to picking """
|
||||
5. When 1st MO is completed => auto-assign to picking
|
||||
6. Additionally check that a MO that has component in stock auto-reserves when MO is confirmed (since default setting = 'at_confirm')"""
|
||||
|
||||
self.warehouse = self.env.ref('stock.warehouse0')
|
||||
route_manufacture = self.warehouse.manufacture_pull_id.route_id
|
||||
@@ -373,7 +374,7 @@ class TestProcurement(TestMrpCommon):
|
||||
'type': 'consu',
|
||||
})
|
||||
|
||||
self.env['mrp.bom'].create({
|
||||
bom1 = self.env['mrp.bom'].create({
|
||||
'product_id': product_1.id,
|
||||
'product_tmpl_id': product_1.product_tmpl_id.id,
|
||||
'product_uom_id': self.uom_unit.id,
|
||||
@@ -504,3 +505,15 @@ class TestProcurement(TestMrpCommon):
|
||||
mo.button_mark_done()
|
||||
|
||||
self.assertEqual(pick_output.move_ids_without_package.reserved_availability, 10, "Completed products should have been auto-reserved in picking")
|
||||
|
||||
# make sure next MO auto-reserves components now that they are in stock since
|
||||
# default reservation_method = 'at_confirm'
|
||||
mo_form = Form(self.env['mrp.production'])
|
||||
mo_form.product_id = product_1
|
||||
mo_form.bom_id = bom1
|
||||
mo_form.product_qty = 5
|
||||
mo_form.product_uom_id = product_1.uom_id
|
||||
mo_assign_at_confirm = mo_form.save()
|
||||
mo_assign_at_confirm.action_confirm()
|
||||
|
||||
self.assertEqual(mo_assign_at_confirm.move_raw_ids.reserved_availability, 5, "Components should have been auto-reserved")
|
||||
|
||||
@@ -174,7 +174,7 @@ class TestMultistepManufacturingWarehouse(TestMrpCommon):
|
||||
|
||||
self.assertTrue(picking_stock_preprod)
|
||||
self.assertTrue(picking_stock_postprod)
|
||||
self.assertEqual(picking_stock_preprod.state, 'confirmed')
|
||||
self.assertEqual(picking_stock_preprod.state, 'assigned')
|
||||
self.assertEqual(picking_stock_postprod.state, 'waiting')
|
||||
self.assertEqual(picking_stock_preprod.origin, production_order.name, 'The pre-prod origin should be the MO name')
|
||||
self.assertEqual(picking_stock_postprod.origin, 'SOURCEDOCUMENT', 'The post-prod origin should be the SO name')
|
||||
@@ -250,7 +250,7 @@ class TestMultistepManufacturingWarehouse(TestMrpCommon):
|
||||
|
||||
self.assertTrue(move_stock_preprod)
|
||||
self.assertTrue(move_stock_postprod)
|
||||
self.assertEqual(move_stock_preprod.state, 'confirmed')
|
||||
self.assertEqual(move_stock_preprod.state, 'assigned')
|
||||
self.assertEqual(move_stock_postprod.state, 'waiting')
|
||||
|
||||
move_stock_preprod._action_cancel()
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import sale
|
||||
@@ -1,30 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
{
|
||||
'name': 'Just In Time Scheduling',
|
||||
'version': '1.0',
|
||||
'category': 'Inventory/Inventory',
|
||||
'description': """
|
||||
This module will automatically reserve the picking from stock when a sales order is confirmed
|
||||
=============================================================================================
|
||||
Upon confirmation of a sales order or when quantities are added,
|
||||
the picking that reserves from stock will be reserved if the
|
||||
necessary quantities are available.
|
||||
|
||||
In the simplest configurations, this is an easy way of working:
|
||||
first come, first served. However, when not installed, you can
|
||||
use manual reservation or run the schedulers where the system
|
||||
will take into account the expected date and the priority.
|
||||
|
||||
If this automatic reservation would reserve too much, you can
|
||||
still unreserve a picking.
|
||||
""",
|
||||
'depends': ['sale_stock'],
|
||||
'data': [],
|
||||
'demo': [],
|
||||
'test': [],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Amharic (http://www.transifex.com/odoo/odoo-9/language/am/)\n"
|
||||
"Language: am\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "ግዢ"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Mustafa Rawi <mustafa@cubexco.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Mustafa Rawi <mustafa@cubexco.com>, 2019\n"
|
||||
"Language-Team: Arabic (https://www.transifex.com/odoo/teams/41243/ar/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ar\n"
|
||||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "بند أمر المبيعات"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Language-Team: Azerbaijani (https://www.transifex.com/odoo/teams/41243/az/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: az\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Bulgarian (http://www.transifex.com/odoo/odoo-9/language/"
|
||||
"bg/)\n"
|
||||
"Language: bg\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Снабдаване"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Bosnian (https://www.transifex.com/odoo/teams/41243/bs/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: bs\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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Stavka prodajne narudžbe"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Manel Fernandez <manelfera@outlook.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Manel Fernandez <manelfera@outlook.com>, 2018\n"
|
||||
"Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ca\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línia comanda de venda"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# trendspotter <j.podhorecky@volny.cz>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: trendspotter <j.podhorecky@volny.cz>, 2019\n"
|
||||
"Language-Team: Czech (https://www.transifex.com/odoo/teams/41243/cs/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: cs\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Řádek zakázky"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Danish (https://www.transifex.com/odoo/teams/41243/da/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: da\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Salgsordrelinje"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Leon Grill <leg@odoo.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Leon Grill <leg@odoo.com>, 2019\n"
|
||||
"Language-Team: German (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Kundenauftragszeile"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Kostas Goutoudis <goutoudis@gmail.com>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Kostas Goutoudis <goutoudis@gmail.com>, 2018\n"
|
||||
"Language-Team: Greek (https://www.transifex.com/odoo/teams/41243/el/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Γραμμή Παραγγελίας"
|
||||
@@ -1,28 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Andi Chandler <andi@gowling.com>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: English (United Kingdom) (http://www.transifex.com/odoo/"
|
||||
"odoo-9/language/en_GB/)\n"
|
||||
"Language: en_GB\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Procurement"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línea de pedido de venta"
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Spanish (Chile) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_CL/)\n"
|
||||
"Language: es_CL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
@@ -1,41 +0,0 @@
|
||||
# #-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Mateo Tibaquirá <nestormateo@gmail.com>, 2015
|
||||
# #-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-10-22 23:34+0000\n"
|
||||
"Last-Translator: Mateo Tibaquirá <nestormateo@gmail.com>\n"
|
||||
"Language-Team: Spanish (Colombia) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_CO/)\n"
|
||||
"Language: es_CO\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"#-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"#-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
#, fuzzy
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
"#-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#\n"
|
||||
"Línea de Orden de Ventas\n"
|
||||
"#-#-#-#-# es_CO.po (Odoo 9.0) #-#-#-#-#\n"
|
||||
"Línea de Órdenes de Venta"
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_CR/)\n"
|
||||
"Language: es_CR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Spanish (Dominican Republic) (http://www.transifex.com/odoo/"
|
||||
"odoo-9/language/es_DO/)\n"
|
||||
"Language: es_DO\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Rick Hunter <rick_hunter_ec@yahoo.com>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-12-07 04:21+0000\n"
|
||||
"Last-Translator: Rick Hunter <rick_hunter_ec@yahoo.com>\n"
|
||||
"Language-Team: Spanish (Ecuador) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_EC/)\n"
|
||||
"Language: es_EC\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línea de Orden de Venta"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2016-06-13 23:22+0000\n"
|
||||
"Last-Translator: Carlos Eduardo Rodriguez Rossi <crodriguez@samemotion.com>\n"
|
||||
"Language-Team: Spanish (Peru) (http://www.transifex.com/odoo/odoo-9/language/"
|
||||
"es_PE/)\n"
|
||||
"Language: es_PE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línea de Pedido de Venta"
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Spanish (Paraguay) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_PY/)\n"
|
||||
"Language: es_PY\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/es_VE/)\n"
|
||||
"Language: es_VE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecimiento"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Eneli Õigus <enelioigus@gmail.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Eneli Õigus <enelioigus@gmail.com>, 2018\n"
|
||||
"Language-Team: Estonian (https://www.transifex.com/odoo/teams/41243/et/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: et\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Müügitellimuse rida"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Hamid Darabi, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Hamid Darabi, 2018\n"
|
||||
"Language-Team: Persian (https://www.transifex.com/odoo/teams/41243/fa/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fa\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "سطر سفارشفروش"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Jussi Lehto <jussi@gulfeo.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Jussi Lehto <jussi@gulfeo.com>, 2018\n"
|
||||
"Language-Team: Finnish (https://www.transifex.com/odoo/teams/41243/fi/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fi\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Myyntitilauksen rivi"
|
||||
@@ -1,23 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-08-25 10:21+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Faroese (http://www.transifex.com/odoo/odoo-9/language/fo/)\n"
|
||||
"Language: fo\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Søluordra-linja"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: French (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Ligne de bons de commande"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-11-18 13:40+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: French (Belgium) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/fr_BE/)\n"
|
||||
"Language: fr_BE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Ligne du bon de commande"
|
||||
@@ -1,26 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Galician (http://www.transifex.com/odoo/odoo-9/language/gl/)\n"
|
||||
"Language: gl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Abastecemento"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.2\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-03-22 14:10+0000\n"
|
||||
"PO-Revision-Date: 2018-03-22 14:10+0000\n"
|
||||
"Language-Team: Gujarati (https://www.transifex.com/odoo/teams/41243/gu/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: gu\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# ZVI BLONDER <ZVIBLONDER@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: ZVI BLONDER <ZVIBLONDER@gmail.com>, 2019\n"
|
||||
"Language-Team: Hebrew (https://www.transifex.com/odoo/teams/41243/he/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: he\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "שורת הזמנת לקוח"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Bole <bole@dajmi5.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>, 2019\n"
|
||||
"Language-Team: Croatian (https://www.transifex.com/odoo/teams/41243/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"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Stavka prodajnog naloga"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# gezza <geza.nagy@oregional.hu>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: gezza <geza.nagy@oregional.hu>, 2019\n"
|
||||
"Language-Team: Hungarian (https://www.transifex.com/odoo/teams/41243/hu/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: hu\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Értékesítési megrendelés sor"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Andi Fadhel <cliffryu@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.saas~18\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-09-20 09:53+0000\n"
|
||||
"PO-Revision-Date: 2017-09-20 09:53+0000\n"
|
||||
"Last-Translator: Andi Fadhel <cliffryu@gmail.com>, 2017\n"
|
||||
"Language-Team: Indonesian (https://www.transifex.com/odoo/teams/41243/id/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: id\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Daftr Order Penjualan"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Bjorn Ingvarsson <boi@exigo.is>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Bjorn Ingvarsson <boi@exigo.is>, 2018\n"
|
||||
"Language-Team: Icelandic (https://www.transifex.com/odoo/teams/41243/is/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: is\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Sales Order Line"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Sergio Zanchetta <primes2h@gmail.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Sergio Zanchetta <primes2h@gmail.com>, 2018\n"
|
||||
"Language-Team: Italian (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Riga ordine di vendita"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Yoshi Tashiro <tashiro@roomsfor.hk>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Yoshi Tashiro <tashiro@roomsfor.hk>, 2018\n"
|
||||
"Language-Team: Japanese (https://www.transifex.com/odoo/teams/41243/ja/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ja\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "販売オーダ明細"
|
||||
@@ -1,26 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Kabyle (http://www.transifex.com/odoo/odoo-9/language/kab/)\n"
|
||||
"Language: kab\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Asigeẓ"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Language-Team: Khmer (https://www.transifex.com/odoo/teams/41243/km/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: km\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Linkup <link-up@naver.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Linkup <link-up@naver.com>, 2018\n"
|
||||
"Language-Team: Korean (https://www.transifex.com/odoo/teams/41243/ko/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ko\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "판매 주문 라인"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Language-Team: Luxembourgish (https://www.transifex.com/odoo/teams/41243/lb/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: lb\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,23 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-11-13 09:02+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Lao (http://www.transifex.com/odoo/odoo-9/language/lo/)\n"
|
||||
"Language: lo\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "ລາຍການສິນຄ້າທີ່ສັ່ງຊື້"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Lithuanian (https://www.transifex.com/odoo/teams/41243/lt/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: lt\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Pardavimo užsakymo eilutė"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.saas~18\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-09-20 09:53+0000\n"
|
||||
"PO-Revision-Date: 2017-09-20 09:53+0000\n"
|
||||
"Language-Team: Latvian (https://www.transifex.com/odoo/teams/41243/lv/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: lv\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,27 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-14 10:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Macedonian (http://www.transifex.com/odoo/odoo-9/language/"
|
||||
"mk/)\n"
|
||||
"Language: mk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Procurement"
|
||||
#~ msgstr "Набавка"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Baskhuu Lodoikhuu <baskhuujacara@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Baskhuu Lodoikhuu <baskhuujacara@gmail.com>, 2019\n"
|
||||
"Language-Team: Mongolian (https://www.transifex.com/odoo/teams/41243/mn/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: mn\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Борлуулалтын захиалгын мөр"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Norwegian Bokmål (https://www.transifex.com/odoo/teams/41243/nb/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nb\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Salgsordrelinje"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Verkooporderregel"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo 9.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-18 14:07+0000\n"
|
||||
"PO-Revision-Date: 2015-09-27 10:36+0000\n"
|
||||
"Last-Translator: Martin Trigaux\n"
|
||||
"Language-Team: Dutch (Belgium) (http://www.transifex.com/odoo/odoo-9/"
|
||||
"language/nl_BE/)\n"
|
||||
"Language: nl_BE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Paweł Wodyński <pw@myodoo.pl>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Paweł Wodyński <pw@myodoo.pl>, 2019\n"
|
||||
"Language-Team: Polish (https://www.transifex.com/odoo/teams/41243/pl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pl\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Pozycja zamówienia sprzedaży"
|
||||
@@ -1,36 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~13.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-09-01 07:29+0000\n"
|
||||
"PO-Revision-Date: 2020-09-01 07:29+0000\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: procurement_jit
|
||||
#: model:ir.model.fields,field_description:procurement_jit.field_sale_order_line__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model.fields,field_description:procurement_jit.field_sale_order_line__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model.fields,field_description:procurement_jit.field_sale_order_line____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Language-Team: Portuguese (https://www.transifex.com/odoo/teams/41243/pt/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Mateus Lopes <mateus1@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Mateus Lopes <mateus1@gmail.com>, 2019\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Linha do Pedido de Vendas"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Language-Team: Romanian (https://www.transifex.com/odoo/teams/41243/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"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2019\n"
|
||||
"Language-Team: Russian (https://www.transifex.com/odoo/teams/41243/ru/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ru\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Строка заказа на продажу"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Slovak (https://www.transifex.com/odoo/teams/41243/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=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Položky objednávky"
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.saas~18\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-09-20 09:53+0000\n"
|
||||
"PO-Revision-Date: 2017-09-20 09:53+0000\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/odoo/teams/41243/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"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,21 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-09-18 09:49+0000\n"
|
||||
"Language-Team: Serbian (https://www.transifex.com/odoo/teams/41243/sr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sr\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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Nemanja Dragovic <nemanjadragovic94@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.saas~18\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-09-20 09:53+0000\n"
|
||||
"PO-Revision-Date: 2017-09-20 09:53+0000\n"
|
||||
"Last-Translator: Nemanja Dragovic <nemanjadragovic94@gmail.com>, 2017\n"
|
||||
"Language-Team: Serbian (Latin) (https://www.transifex.com/odoo/teams/41243/sr%40latin/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sr@latin\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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Stavka naloga za prodaju"
|
||||
@@ -1,24 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.2\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-03-22 14:10+0000\n"
|
||||
"PO-Revision-Date: 2018-03-22 14:10+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Swedish (https://www.transifex.com/odoo/teams/41243/sv/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sv\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Orderrad"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Martin Trigaux, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Martin Trigaux, 2018\n"
|
||||
"Language-Team: Thai (https://www.transifex.com/odoo/teams/41243/th/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: th\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "รายการคำสั่งขาย"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Ediz Duman <neps1192@gmail.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Ediz Duman <neps1192@gmail.com>, 2019\n"
|
||||
"Language-Team: Turkish (https://www.transifex.com/odoo/teams/41243/tr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: tr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Satış Sipariş Satırı"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Alina Lisnenko <alinasemeniuk1@gmail.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: Alina Lisnenko <alinasemeniuk1@gmail.com>, 2018\n"
|
||||
"Language-Team: Ukrainian (https://www.transifex.com/odoo/teams/41243/uk/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: uk\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Рядок замовлення на продаж"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# Chinh Chinh <trinhttp@trobz.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: Chinh Chinh <trinhttp@trobz.com>, 2019\n"
|
||||
"Language-Team: Vietnamese (https://www.transifex.com/odoo/teams/41243/vi/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: vi\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Chi tiết đơn hàng"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# inspur qiuguodong <qiuguodong@inspur.com>, 2018
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2018-08-24 09:23+0000\n"
|
||||
"Last-Translator: inspur qiuguodong <qiuguodong@inspur.com>, 2018\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/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: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "销售订单分录"
|
||||
@@ -1,25 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * procurement_jit
|
||||
#
|
||||
# Translators:
|
||||
# 敬雲 林 <chingyun@yuanchih-consult.com>, 2019
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-18 09:49+0000\n"
|
||||
"PO-Revision-Date: 2019-08-26 09:13+0000\n"
|
||||
"Last-Translator: 敬雲 林 <chingyun@yuanchih-consult.com>, 2019\n"
|
||||
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/odoo/teams/41243/zh_TW/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: zh_TW\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: procurement_jit
|
||||
#: model:ir.model,name:procurement_jit.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "銷售訂單明細"
|
||||
@@ -1,19 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class SaleOrderLine(models.Model):
|
||||
_inherit = "sale.order.line"
|
||||
|
||||
def _action_launch_stock_rule(self, previous_product_uom_qty=False):
|
||||
res = super(SaleOrderLine, self)._action_launch_stock_rule(previous_product_uom_qty=previous_product_uom_qty)
|
||||
orders = list(set(x.order_id for x in self))
|
||||
for order in orders:
|
||||
reassign = order.picking_ids.filtered(lambda x: x.state=='confirmed' or (x.state in ['waiting', 'assigned'] and not x.printed))
|
||||
if reassign:
|
||||
# Trigger the Scheduler for Pickings
|
||||
reassign.action_confirm()
|
||||
reassign.action_assign()
|
||||
return res
|
||||
@@ -101,6 +101,7 @@ class TestCreatePicking(common.TestProductCommon):
|
||||
"""
|
||||
stock_location = self.env['ir.model.data'].xmlid_to_object('stock.stock_location_stock')
|
||||
customer_location = self.env['ir.model.data'].xmlid_to_object('stock.stock_location_customers')
|
||||
picking_type_out = self.env['ir.model.data'].xmlid_to_object('stock.picking_type_out')
|
||||
# route buy should be there by default
|
||||
partner = self.env['res.partner'].create({
|
||||
'name': 'Jhon'
|
||||
@@ -132,6 +133,7 @@ class TestCreatePicking(common.TestProductCommon):
|
||||
'product_uom': product.uom_id.id,
|
||||
'product_uom_qty': 100.0,
|
||||
'procure_method': 'make_to_order',
|
||||
'picking_type_id': picking_type_out.id,
|
||||
})
|
||||
|
||||
customer_move._action_confirm()
|
||||
|
||||
@@ -3,13 +3,11 @@
|
||||
|
||||
import json
|
||||
import logging
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import timedelta
|
||||
from collections import defaultdict
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare, float_round
|
||||
from odoo.tools.float_utils import float_repr
|
||||
from odoo.tools.misc import format_date
|
||||
from odoo.tools import float_compare, float_round
|
||||
from odoo.exceptions import UserError
|
||||
|
||||
|
||||
@@ -587,6 +585,14 @@ class SaleOrderLine(models.Model):
|
||||
line.name, line.order_id.name, line.order_id.company_id, values))
|
||||
if procurements:
|
||||
self.env['procurement.group'].run(procurements)
|
||||
|
||||
# This next block is currently needed only because the scheduler trigger is done by picking confirmation rather than stock.move confirmation
|
||||
orders = self.mapped('order_id')
|
||||
for order in orders:
|
||||
pickings_to_confirm = order.picking_ids.filtered(lambda p: p.state not in ['cancel', 'done'])
|
||||
if pickings_to_confirm:
|
||||
# Trigger the Scheduler for Pickings
|
||||
pickings_to_confirm.action_confirm()
|
||||
return True
|
||||
|
||||
def _check_package(self):
|
||||
|
||||
@@ -822,3 +822,47 @@ class TestSaleStock(TestSaleCommon, ValuationReconciliationTestCommon):
|
||||
wizard.action_cancel()
|
||||
self.assertEqual(inv_1.state, 'posted', 'A posted invoice state should remain posted')
|
||||
self.assertEqual(inv_2.state, 'cancel', 'A drafted invoice state should be cancelled')
|
||||
|
||||
def test_reservation_method_w_sale(self):
|
||||
picking_type_out = self.company_data['default_warehouse'].out_type_id
|
||||
# make sure generated picking will auto-assign
|
||||
picking_type_out.reservation_method = 'at_confirm'
|
||||
product = self.company_data['product_delivery_no']
|
||||
product.type = 'product'
|
||||
self.env['stock.quant']._update_available_quantity(product, self.company_data['default_warehouse'].lot_stock_id, 20)
|
||||
|
||||
sale_order1 = self._get_new_sale_order(amount=10.0)
|
||||
# Validate the sale order, picking should automatically assign stock
|
||||
sale_order1.action_confirm()
|
||||
picking1 = sale_order1.picking_ids
|
||||
self.assertTrue(picking1)
|
||||
self.assertEqual(picking1.state, 'assigned')
|
||||
picking1.unlink()
|
||||
|
||||
# make sure generated picking will does not auto-assign
|
||||
picking_type_out.reservation_method = 'manual'
|
||||
sale_order2 = self._get_new_sale_order(amount=10.0)
|
||||
# Validate the sale order, picking should not automatically assign stock
|
||||
sale_order2.action_confirm()
|
||||
picking2 = sale_order2.picking_ids
|
||||
self.assertTrue(picking2)
|
||||
self.assertEqual(picking2.state, 'confirmed')
|
||||
picking2.unlink()
|
||||
|
||||
# make sure generated picking auto-assigns according to (picking) scheduled date
|
||||
picking_type_out.reservation_method = 'by_date'
|
||||
picking_type_out.reservation_days_before = 2
|
||||
# too early for scheduled date => don't auto-assign
|
||||
sale_order3 = self._get_new_sale_order(amount=10.0)
|
||||
sale_order3.commitment_date = datetime.now() + timedelta(days=10)
|
||||
sale_order3.action_confirm()
|
||||
picking3 = sale_order3.picking_ids
|
||||
self.assertTrue(picking3)
|
||||
self.assertEqual(picking3.state, 'confirmed')
|
||||
picking3.unlink()
|
||||
# within scheduled date + reservation days before => auto-assign
|
||||
sale_order4 = self._get_new_sale_order(amount=10.0)
|
||||
sale_order4.commitment_date = datetime.now() + timedelta(days=1)
|
||||
sale_order4.action_confirm()
|
||||
self.assertTrue(sale_order4.picking_ids)
|
||||
self.assertEqual(sale_order4.picking_ids.state, 'assigned')
|
||||
|
||||
@@ -13,6 +13,9 @@ class TestSaleStockReports(TestReportsCommon):
|
||||
for tomorrow. Then check in the report it's the most urgent who is
|
||||
linked to the qty. on stock.
|
||||
"""
|
||||
# make sure first picking doesn't auto-assign
|
||||
self.picking_type_out.reservation_method = 'manual'
|
||||
|
||||
today = datetime.today()
|
||||
# Put some quantity in stock.
|
||||
quant_vals = {
|
||||
|
||||
@@ -46,19 +46,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6 o_setting_box" title="Reserving products manually in delivery orders or by running the scheduler is advised to better manage priorities in case of long customer lead times or/and frequent stock-outs. By default, the scheduler runs automatically every 24 hours.">
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_procurement_jit"/>
|
||||
<div class="text-muted">
|
||||
When to reserve sold products
|
||||
</div>
|
||||
<div class="content-group">
|
||||
<div class="mt16">
|
||||
<field name="module_procurement_jit" class="o_light_label" widget="radio"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<xpath expr="//h2[@id='schedule_info']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
|
||||
@@ -7,11 +7,6 @@ from odoo import api, fields, models
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
module_procurement_jit = fields.Selection([
|
||||
('1', 'Immediately after sales order confirmation'),
|
||||
('0', 'Manually or based on automatic scheduler')
|
||||
], "Reservation", default='0',
|
||||
help="Reserving products manually in delivery orders or by running the scheduler is advised to better manage priorities in case of long customer lead times or/and frequent stock-outs.")
|
||||
module_product_expiry = fields.Boolean("Expiration Dates",
|
||||
help="Track following dates on lots & serial numbers: best before, removal, end of life, alert. \n Such dates are set automatically at lot/serial number creation based on values set on the product (in days).")
|
||||
group_stock_production_lot = fields.Boolean("Lots & Serial Numbers",
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import json
|
||||
|
||||
from collections import defaultdict
|
||||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
from re import findall as regex_findall
|
||||
from re import split as regex_split
|
||||
|
||||
from dateutil import relativedelta
|
||||
|
||||
from odoo import SUPERUSER_ID, _, api, fields, models
|
||||
from odoo import _, api, fields, models
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.osv import expression
|
||||
from odoo.tools import OrderedSet
|
||||
from odoo.tools.float_utils import float_compare, float_is_zero, float_repr, float_round
|
||||
from odoo.tools.misc import format_date, OrderedSet
|
||||
from odoo.tools.float_utils import float_compare, float_is_zero, float_round
|
||||
from odoo.tools.misc import OrderedSet
|
||||
|
||||
PROCUREMENT_PRIORITIES = [('0', 'Normal'), ('1', 'Urgent')]
|
||||
|
||||
@@ -180,6 +177,8 @@ class StockMove(models.Model):
|
||||
forecast_availability = fields.Float('Forecast Availability', compute='_compute_forecast_information', digits='Product Unit of Measure')
|
||||
forecast_expected_date = fields.Datetime('Forecasted Expected date', compute='_compute_forecast_information')
|
||||
lot_ids = fields.Many2many('stock.production.lot', compute='_compute_lot_ids', inverse='_set_lot_ids', string='Serial Numbers', readonly=False)
|
||||
reservation_date = fields.Date('Date to Reserve', compute='_compute_reservation_date', store=True,
|
||||
help="This is a technical field for calculating when a move should be reserved")
|
||||
|
||||
@api.onchange('product_id', 'picking_type_id')
|
||||
def onchange_product(self):
|
||||
@@ -493,6 +492,18 @@ class StockMove(models.Model):
|
||||
move_lines_commands.append((0, 0, move_line_vals))
|
||||
move.write({'move_line_ids': move_lines_commands})
|
||||
|
||||
@api.depends('picking_id', 'picking_type_id', 'date')
|
||||
def _compute_reservation_date(self):
|
||||
for move in self:
|
||||
if move.state in ['draft', 'confirmed', 'waiting', 'partially_available']:
|
||||
picking_type_id = False
|
||||
if move.picking_type_id:
|
||||
picking_type_id = move.picking_type_id
|
||||
elif move.picking_id:
|
||||
picking_type_id = move.picking_id.picking_type_id
|
||||
if picking_type_id and picking_type_id.reservation_method == 'by_date':
|
||||
move.reservation_date = fields.Date.to_date(move.date) - timedelta(days=move.picking_type_id.reservation_days_before)
|
||||
|
||||
@api.constrains('product_uom')
|
||||
def _check_uom(self):
|
||||
moves_error = self.filtered(lambda move: move.product_id.uom_id.category_id != move.product_uom.category_id)
|
||||
@@ -1120,9 +1131,14 @@ class StockMove(models.Model):
|
||||
if merge:
|
||||
moves = self._merge_moves(merge_into=merge_into)
|
||||
|
||||
# call `_action_assign` on every confirmed move which location_id bypasses the reservation
|
||||
moves.filtered(lambda move: not move.picking_id.immediate_transfer and move._should_bypass_reservation() and move.state == 'confirmed')._action_assign()
|
||||
|
||||
# call `_action_assign` on every confirmed move which location_id bypasses the reservation + those expected to be auto-assigned
|
||||
moves.filtered(lambda move: not move.picking_id.immediate_transfer
|
||||
and move.state == 'confirmed'
|
||||
and (move._should_bypass_reservation()
|
||||
or move.picking_type_id.reservation_method == 'at_confirm'
|
||||
or move.picking_id.picking_type_id.reservation_method == 'at_confirm'
|
||||
or (move.reservation_date and move.reservation_date <= fields.Date.today())))\
|
||||
._action_assign()
|
||||
if new_push_moves:
|
||||
new_push_moves._action_confirm()
|
||||
|
||||
@@ -1385,6 +1401,8 @@ class StockMove(models.Model):
|
||||
self.env['stock.move.line'].create(move_line_vals_list)
|
||||
partially_available_moves.write({'state': 'partially_available'})
|
||||
assigned_moves.write({'state': 'assigned'})
|
||||
if self.env.context.get('bypass_entire_pack'):
|
||||
return
|
||||
self.mapped('picking_id')._check_entire_pack()
|
||||
|
||||
def _action_cancel(self):
|
||||
@@ -1502,7 +1520,9 @@ class StockMove(models.Model):
|
||||
new_move_vals = move._split(qty_split)
|
||||
backorder_moves_vals += new_move_vals
|
||||
backorder_moves = self.env['stock.move'].create(backorder_moves_vals)
|
||||
backorder_moves._action_confirm(merge=False)
|
||||
# The backorder moves are not yet in their own picking. We do not want to check entire packs for those
|
||||
# ones as it could messed up the result_package_id of the moves being currently validated
|
||||
backorder_moves.with_context(bypass_entire_pack=True)._action_confirm(merge=False)
|
||||
if cancel_backorder:
|
||||
backorder_moves.with_context(moves_todo=moves_todo)._action_cancel()
|
||||
moves_todo.mapped('move_line_ids').sorted()._action_done()
|
||||
@@ -1528,7 +1548,9 @@ class StockMove(models.Model):
|
||||
return moves_todo
|
||||
|
||||
if picking and not cancel_backorder:
|
||||
picking._create_backorder()
|
||||
backorder = picking._create_backorder()
|
||||
if any([m.state == 'assigned' for m in backorder.move_lines]):
|
||||
backorder._check_entire_pack()
|
||||
return moves_todo
|
||||
|
||||
def unlink(self):
|
||||
@@ -1770,5 +1792,8 @@ class StockMove(models.Model):
|
||||
for move in self:
|
||||
domains.append([('product_id', '=', move.product_id.id), ('location_id', '=', move.location_dest_id.id)])
|
||||
static_domain = [('state', 'in', ['confirmed', 'partially_available']), ('procure_method', '=', 'make_to_stock')]
|
||||
moves_to_reserve = self.env['stock.move'].search(expression.AND([static_domain, expression.OR(domains)]))
|
||||
reservation_domain = ['|', '|', ('picking_type_id.reservation_method', '=', 'at_confirm'),
|
||||
('picking_id.picking_type_id.reservation_method', '=', 'at_confirm'),
|
||||
('reservation_date', '<=', fields.Date.today())]
|
||||
moves_to_reserve = self.env['stock.move'].search(expression.AND([static_domain, expression.OR(domains), reservation_domain]))
|
||||
moves_to_reserve._action_assign()
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
import json
|
||||
import time
|
||||
from ast import literal_eval
|
||||
from collections import defaultdict
|
||||
from datetime import date
|
||||
from datetime import date, timedelta
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
|
||||
@@ -66,6 +65,12 @@ class PickingType(models.Model):
|
||||
'Pre-fill Detailed Operations', default=True,
|
||||
help="If this checkbox is ticked, Odoo will automatically pre-fill the detailed "
|
||||
"operations with the corresponding products, locations and lot/serial numbers.")
|
||||
reservation_method = fields.Selection(
|
||||
[('by_date', 'before scheduled date'), ('at_confirm', 'At Confirmation'), ('manual', 'Manually')],
|
||||
'Reservation Method', required=True, default='at_confirm',
|
||||
help="How products in transfers of this operation type should be reserved.")
|
||||
reservation_days_before = fields.Integer('Days', help="Maximum number of days before scheduled date that products should be reserved.")
|
||||
|
||||
|
||||
count_picking_draft = fields.Integer(compute='_compute_picking_count')
|
||||
count_picking_ready = fields.Integer(compute='_compute_picking_count')
|
||||
|
||||
@@ -489,6 +489,10 @@ class ProcurementGroup(models.Model):
|
||||
('state', 'in', ['confirmed', 'partially_available']),
|
||||
('product_uom_qty', '!=', 0.0)
|
||||
]
|
||||
# TODO: make picking_type_id/reservation method one value on stock.move
|
||||
moves_domain = expression.AND([moves_domain, ['|', '|', ('picking_type_id.reservation_method', '=', 'at_confirm'),
|
||||
('picking_id.picking_type_id.reservation_method', '=', 'at_confirm'),
|
||||
('reservation_date', '<=', fields.Date.today())]])
|
||||
if company_id:
|
||||
moves_domain = expression.AND([[('company_id', '=', company_id)], moves_domain])
|
||||
return moves_domain
|
||||
|
||||
@@ -23,6 +23,7 @@ class TestStockCommon(common.TransactionCase):
|
||||
# Model Data
|
||||
cls.picking_type_in = cls.ModelDataObj.xmlid_to_res_id('stock.picking_type_in')
|
||||
cls.picking_type_out = cls.ModelDataObj.xmlid_to_res_id('stock.picking_type_out')
|
||||
cls.env['stock.picking.type'].browse(cls.picking_type_out).reservation_method = 'manual'
|
||||
cls.supplier_location = cls.ModelDataObj.xmlid_to_res_id('stock.stock_location_suppliers')
|
||||
cls.stock_location = cls.ModelDataObj.xmlid_to_res_id('stock.stock_location_stock')
|
||||
pack_location = cls.env.ref('stock.location_pack_zone')
|
||||
|
||||
@@ -3841,7 +3841,7 @@ class StockMove(TransactionCase):
|
||||
})
|
||||
move1._action_confirm()
|
||||
|
||||
self.assertEqual(move1.state, 'confirmed')
|
||||
self.assertEqual(move1.state, 'assigned')
|
||||
scrap = self.env['stock.scrap'].create({
|
||||
'product_id': self.product.id,
|
||||
'product_uom_id': self.product.uom_id.id,
|
||||
|
||||
@@ -2991,6 +2991,7 @@ class TestAutoAssign(TestStockCommon):
|
||||
"""
|
||||
pack_location = self.env['stock.location'].browse(self.pack_location)
|
||||
stock_location = self.env['stock.location'].browse(self.stock_location)
|
||||
self.env['stock.picking.type'].browse(self.picking_type_out).reservation_method = 'at_confirm'
|
||||
|
||||
# create customer picking and move
|
||||
customer_picking = self.env['stock.picking'].create({
|
||||
@@ -3045,6 +3046,7 @@ class TestAutoAssign(TestStockCommon):
|
||||
picking_pick, picking_client = self.create_pick_ship()
|
||||
pack_location = self.env['stock.location'].browse(self.pack_location)
|
||||
stock_location = self.env['stock.location'].browse(self.stock_location)
|
||||
self.env['stock.picking.type'].browse(self.picking_type_out).reservation_method = 'at_confirm'
|
||||
|
||||
# make some stock
|
||||
self.env['stock.quant']._update_available_quantity(self.productA, stock_location, 10.0)
|
||||
@@ -3072,6 +3074,113 @@ class TestAutoAssign(TestStockCommon):
|
||||
self.assertEqual(picking_client.state, 'waiting', "MTO moves can't be automatically assigned.")
|
||||
self.assertEqual(self.env['stock.quant']._get_available_quantity(self.productA, pack_location), 10.0)
|
||||
|
||||
def test_auto_assign_reservation_method(self):
|
||||
"""Test different stock.picking.type reservation methods by:
|
||||
1. Create multiple delivery picking types with different reservation methods
|
||||
2. Create/confirm outgoing pickings for each of these picking types for a product not in stock
|
||||
3. Create/do an incoming picking that fulfills all of the outgoing pickings
|
||||
4. Check that only the correct outgoing pickings are auto_assigned
|
||||
5. Additionally check that auto-assignment at confirmation correctly works when products are in stock
|
||||
Note, default reservation method is expected to be covered by other tests.
|
||||
"""
|
||||
|
||||
stock_location = self.env['stock.location'].browse(self.stock_location)
|
||||
self.assertEqual(self.env['stock.quant']._get_available_quantity(self.productA, stock_location), 0)
|
||||
picking_type_out1 = self.env['stock.picking.type'].browse(self.picking_type_out).copy()
|
||||
picking_type_out2 = picking_type_out1.copy()
|
||||
picking_type_out3 = picking_type_out1.copy()
|
||||
picking_type_out4 = picking_type_out1.copy()
|
||||
picking_type_out1.reservation_method = 'manual'
|
||||
picking_type_out2.reservation_method = 'by_date'
|
||||
picking_type_out2.reservation_days_before = '1'
|
||||
picking_type_out3.reservation_method = 'by_date'
|
||||
picking_type_out3.reservation_days_before = '10'
|
||||
picking_type_out4.reservation_method = 'at_confirm'
|
||||
|
||||
# 'manual' assign picking => should never auto-assign
|
||||
customer_picking1 = self.env['stock.picking'].create({
|
||||
'name': "Delivery 1",
|
||||
'location_id': self.stock_location,
|
||||
'location_dest_id': self.customer_location,
|
||||
'picking_type_id': picking_type_out1.id,
|
||||
})
|
||||
|
||||
# 'by_date' picking w/ 1 day before scheduled date auto-assign setting, set to 5 days in advance => shouldn't auto-assign
|
||||
customer_picking2 = customer_picking1.copy({'name': "Delivery 2",
|
||||
'picking_type_id': picking_type_out2.id,
|
||||
'scheduled_date': customer_picking1.scheduled_date + timedelta(days=5)})
|
||||
# 'by_date' picking w/ 10 days before scheduled date auto-assign setting, set to 5 days in advance => should auto-assign
|
||||
customer_picking3 = customer_picking2.copy({'name': "Delivery 3", 'picking_type_id': picking_type_out3.id})
|
||||
customer_picking4 = customer_picking3.copy({'name': "Delivery 4", 'picking_type_id': picking_type_out3.id})
|
||||
|
||||
customer_picking5 = customer_picking1.copy({'name': "Delivery 5", 'picking_type_id': picking_type_out4.id})
|
||||
|
||||
# create their associated moves (needs to be in form view so compute functions properly trigger)
|
||||
customer_picking1 = Form(customer_picking1)
|
||||
with customer_picking1.move_ids_without_package.new() as move:
|
||||
move.product_id = self.productA
|
||||
move.product_uom_qty = 10
|
||||
customer_picking1 = customer_picking1.save()
|
||||
|
||||
customer_picking2 = Form(customer_picking2)
|
||||
with customer_picking2.move_ids_without_package.new() as move:
|
||||
move.product_id = self.productA
|
||||
move.product_uom_qty = 10
|
||||
customer_picking2 = customer_picking2.save()
|
||||
|
||||
customer_picking3 = Form(customer_picking3)
|
||||
with customer_picking3.move_ids_without_package.new() as move:
|
||||
move.product_id = self.productA
|
||||
move.product_uom_qty = 10
|
||||
customer_picking3 = customer_picking3.save()
|
||||
|
||||
customer_picking4 = Form(customer_picking4)
|
||||
with customer_picking4.move_ids_without_package.new() as move:
|
||||
move.product_id = self.productA
|
||||
move.product_uom_qty = 10
|
||||
customer_picking4 = customer_picking4.save()
|
||||
|
||||
customer_picking5 = Form(customer_picking5)
|
||||
with customer_picking5.move_ids_without_package.new() as move:
|
||||
move.product_id = self.productA
|
||||
move.product_uom_qty = 10
|
||||
customer_picking5 = customer_picking5.save()
|
||||
|
||||
customer_picking1.action_assign()
|
||||
customer_picking2.action_assign()
|
||||
customer_picking3.action_assign()
|
||||
self.assertEqual(customer_picking1.move_lines.reserved_availability, 0, "There should be no products available to reserve yet.")
|
||||
self.assertEqual(customer_picking2.move_lines.reserved_availability, 0, "There should be no products available to reserve yet.")
|
||||
self.assertEqual(customer_picking3.move_lines.reserved_availability, 0, "There should be no products available to reserve yet.")
|
||||
|
||||
# create supplier picking and move
|
||||
supplier_picking = self.env['stock.picking'].create({
|
||||
'location_id': self.customer_location,
|
||||
'location_dest_id': self.stock_location,
|
||||
'picking_type_id': self.picking_type_in,
|
||||
})
|
||||
supplier_move = self.env['stock.move'].create({
|
||||
'name': 'test_transit_1',
|
||||
'location_id': self.customer_location,
|
||||
'location_dest_id': self.stock_location,
|
||||
'product_id': self.productA.id,
|
||||
'product_uom': self.productA.uom_id.id,
|
||||
'product_uom_qty': 50.0,
|
||||
'picking_id': supplier_picking.id,
|
||||
})
|
||||
supplier_move.quantity_done = 50
|
||||
supplier_picking._action_done()
|
||||
|
||||
self.assertEqual(customer_picking1.move_lines.reserved_availability, 0, "Reservation Method: 'manual' shouldn't ever auto-assign")
|
||||
self.assertEqual(customer_picking2.move_lines.reserved_availability, 0, "Reservation Method: 'by_date' shouldn't auto-assign when not within reservation date range")
|
||||
self.assertEqual(customer_picking3.move_lines.reserved_availability, 10, "Reservation Method: 'by_date' should auto-assign when within reservation date range")
|
||||
self.assertEqual(self.env['stock.quant']._get_available_quantity(self.productA, stock_location), 40)
|
||||
|
||||
customer_picking4.action_assign()
|
||||
customer_picking5.action_assign()
|
||||
self.assertEqual(customer_picking4.move_lines.reserved_availability, 10, "Reservation Method: 'at_confirm' should auto-assign at confirmation")
|
||||
self.assertEqual(customer_picking5.move_lines.reserved_availability, 10, "Reservation Method: 'by_date' should auto-assign when within reservation date range at confirmation")
|
||||
|
||||
def test_serial_lot_ids(self):
|
||||
self.stock_location = self.env.ref('stock.stock_location_stock')
|
||||
self.customer_location = self.env.ref('stock.stock_location_customers')
|
||||
|
||||
@@ -563,7 +563,7 @@ class TestMultiCompany(TransactionCase):
|
||||
"Chained move created in transit location")
|
||||
self.assertEqual(move_wha_to_cus.state, "waiting")
|
||||
self.assertEqual(move_transit_to_wha.state, "waiting")
|
||||
self.assertEqual(move_whb_to_transit.state, "confirmed")
|
||||
self.assertEqual(move_whb_to_transit.state, "assigned")
|
||||
|
||||
(move_wha_to_cus + move_whb_to_transit + move_transit_to_wha).picking_id.action_assign()
|
||||
self.assertEqual(move_wha_to_cus.state, "waiting")
|
||||
|
||||
@@ -14,6 +14,7 @@ class TestPackingCommon(TransactionCase):
|
||||
cls.stock_location = cls.env.ref('stock.stock_location_stock')
|
||||
cls.warehouse = cls.env['stock.warehouse'].search([('lot_stock_id', '=', cls.stock_location.id)], limit=1)
|
||||
cls.warehouse.write({'delivery_steps': 'pick_pack_ship'})
|
||||
cls.warehouse.int_type_id.reservation_method = 'manual'
|
||||
cls.pack_location = cls.warehouse.wh_pack_stock_loc_id
|
||||
cls.ship_location = cls.warehouse.wh_output_stock_loc_id
|
||||
cls.customer_location = cls.env.ref('stock.stock_location_customers')
|
||||
|
||||
@@ -15,6 +15,7 @@ class TestVirtualAvailable(TestStockCommon):
|
||||
# Make `product3` a storable product for this test. Indeed, creating quants
|
||||
# and playing with owners is not possible for consumables.
|
||||
self.product_3.type = 'product'
|
||||
self.env['stock.picking.type'].browse(self.ref('stock.picking_type_out')).reservation_method = 'manual'
|
||||
|
||||
self.env['stock.quant'].create({
|
||||
'product_id': self.product_3.id,
|
||||
|
||||
@@ -43,6 +43,11 @@
|
||||
<field name="sequence_id" groups="base.group_no_one"/>
|
||||
<field name="sequence_code"/>
|
||||
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses" force_save="1"/>
|
||||
<label for="reservation_method" attrs="{'invisible': [('code', '=', 'incoming')]}"/>
|
||||
<div class="o_row" attrs="{'invisible': [('code', '=', 'incoming')]}">
|
||||
<field name="reservation_method" widget="radio"/>
|
||||
<span attrs='{"invisible": [("reservation_method", "!=", "by_date")]}' class="oe_left"><field name="reservation_days_before" style="width: 30px; padding-top: 0px"/> days</span>
|
||||
</div>
|
||||
</group>
|
||||
<group>
|
||||
<field name="code"/>
|
||||
|
||||
@@ -15,6 +15,7 @@ class TestBatchPicking(TransactionCase):
|
||||
self.stock_location = self.env.ref('stock.stock_location_stock')
|
||||
self.customer_location = self.env.ref('stock.stock_location_customers')
|
||||
self.picking_type_out = self.env['ir.model.data'].xmlid_to_res_id('stock.picking_type_out')
|
||||
self.env['stock.picking.type'].browse(self.picking_type_out).reservation_method = 'manual'
|
||||
self.productA = self.env['product.product'].create({
|
||||
'name': 'Product A',
|
||||
'type': 'product',
|
||||
|
||||
Reference in New Issue
Block a user