[MIG] stock_available_unreserved: Migration to V12

This commit is contained in:
ougc27
2019-01-07 09:35:55 -06:00
committed by Lois Rilo
parent 031cbb2abe
commit 1697f7b719
8 changed files with 10 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ Contributors
* Stefan Rijnhart <stefan@opener.amsterdam>
* Mykhailo Panarin <m.panarin@mobilunity.com>
* Atte Isopuro <atte.isopuro@avoin.systems>
* Oscar Garza <oscar.garza@jarsa.com.mx>
Maintainer

View File

@@ -1,6 +1,7 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import models

View File

@@ -2,11 +2,12 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Stock Available Unreserved",
"summary": "Quantity of stock available for immediate use",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"author": "Eficent Business and IT Consulting Services S.L,"
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",

View File

@@ -1,6 +1,7 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import product

View File

@@ -2,6 +2,7 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models, _

View File

@@ -1,4 +1,5 @@
# Copyright 2018 Camptocamp SA
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models

View File

@@ -1,5 +1,6 @@
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# (http://www.eficent.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

View File

@@ -3,6 +3,7 @@
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Therp BV <http://therp.nl>
# Copyright 2019 JARSA Sistemas S.A. de C.V.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import SavepointCase
@@ -18,7 +19,7 @@ class TestStockLogisticsWarehouse(SavepointCase):
cls.supplier_location = cls.env.ref('stock.stock_location_suppliers')
cls.stock_location = cls.env.ref('stock.stock_location_stock')
cls.customer_location = cls.env.ref('stock.stock_location_customers')
cls.uom_unit = cls.env.ref('product.product_uom_unit')
cls.uom_unit = cls.env.ref('uom.product_uom_unit')
cls.main_company = cls.env.ref('base.main_company')
cls.bin_a = cls.env['stock.location'].create({