[FIX] sale_stock_available_info: ensure test line order

This commit is contained in:
david
2021-01-21 13:18:52 +01:00
committed by Víctor Martínez
parent b1c327e0ee
commit c10c038e39
2 changed files with 4 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"version": "12.0.1.0.0",
"version": "12.0.1.0.1",
"license": "AGPL-3",
"depends": [
"sale_stock_info_popup",

View File

@@ -82,6 +82,7 @@ class SaleStockAvailableInfoPopup(SavepointCase):
'partner_id': self.env.ref('base.res_partner_1').id,
'order_line': [
(0, 0, {
'sequence': 1,
'name': self.product.name,
'product_id': self.product.id,
'product_uom_qty': 5,
@@ -89,6 +90,7 @@ class SaleStockAvailableInfoPopup(SavepointCase):
'price_unit': self.product.list_price
}),
(0, 0, {
'sequence': 2,
'name': self.product.name,
'product_id': self.product.id,
'product_uom_qty': 5,
@@ -96,6 +98,7 @@ class SaleStockAvailableInfoPopup(SavepointCase):
'price_unit': self.product.list_price
}),
(0, 0, {
'sequence': 3,
'name': self.product.name,
'product_id': self.product.id,
'product_uom_qty': 5,