mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] sale_stock_available_info: ensure test line order
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user