mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] sale_stock_available_info_popup: Migration to 13.0
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
|
||||
* Ernesto Tejeda
|
||||
* Pedro M. Baeza
|
||||
* Víctor Martínez
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user