Skip to content
Snippets Groups Projects

Test Fix

Merged Jose Luis Zanotti requested to merge 12.0-test-fix into 12.0-stage
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -72,7 +72,7 @@ class TestModel(TransactionCase):
'product_id': self.product_3.id,
'product_uom_qty': 4,
'price_unit': 5.00,
}), (0, 0, {
}), (0, 0, {
'name': 'Product 1',
'product_id': self.product_1.id,
'product_uom_qty': 24,
@@ -99,6 +99,6 @@ class TestModel(TransactionCase):
def test_if_create_stock_picking_related_to_order_line(self):
total_pickings = len(self.stock_picking.search([]))
self.new_order.action_confirm()
assert len(self.stock_picking.search([])) == total_pickings + 3
assert len(self.stock_picking.search([])) == total_pickings + 1
for picking in self.new_order.picking_ids:
assert picking.location_id.id == self.implantation_location_1.location_id.id
Loading