[MIG] sale_stock_available_info_popup: Migration to 13.0

This commit is contained in:
Víctor Martínez
2021-02-19 09:23:40 +01:00
parent f3fc0c2b16
commit dd93ad130e
4 changed files with 8 additions and 7 deletions

View File

@@ -7,10 +7,10 @@
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"version": "12.0.1.0.1",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"depends": ["sale_stock_info_popup", "stock_available",],
"data": ["views/sale_order_views.xml",],
"qweb": ["static/src/xml/qty_at_date.xml",],
"depends": ["sale_stock", "stock_available"],
"data": ["views/sale_order_views.xml"],
"qweb": ["static/src/xml/qty_at_date.xml"],
"installable": True,
}

View File

@@ -2,3 +2,4 @@
* Ernesto Tejeda
* Pedro M. Baeza
* Víctor Martínez

View File

@@ -1,3 +1,3 @@
This module extends the functionality of 'Sale Stock Info Popup' module
This module extends the functionality of 'Sale Stock' module
to add the 'Available to promise' quantity of the corresponding product
to the pop-up that show stock information at sales order line level.

View File

@@ -7,7 +7,7 @@ from odoo.tests.common import SavepointCase
class SaleStockAvailableInfoPopup(SavepointCase):
@classmethod
def setUpClass(cls):
super(SaleStockAvailableInfoPopup, cls).setUpClass()
super().setUpClass()
user_group_stock_user = cls.env.ref("stock.group_stock_user")
cls.user_stock_user = cls.env["res.users"].create(
{
@@ -19,7 +19,7 @@ class SaleStockAvailableInfoPopup(SavepointCase):
}
)
cls.product = cls.env["product.product"].create(
{"name": "Storable product", "type": "product",}
{"name": "Storable product", "type": "product"}
)
cls.stock_location = cls.env.ref("stock.stock_location_stock")
cls.customers_location = cls.env.ref("stock.stock_location_customers")