Skip to content
This repository has been archived by the owner on Mar 3, 2025. It is now read-only.

Commit

Permalink
Merge pull request #53 from GlodoUK/T11712
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
ellbristow authored Apr 25, 2024
2 parents 72fdc11 + 1e65616 commit ef53536
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions stock_picking_validation_warning/tests/test_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ def test_compute_picking_warn_msg(self):
"picking_type_id": self.picking_type_out.id,
"location_id": self.location.id,
"location_dest_id": self.customer_location.id,
"move_lines": [
"move_line_ids": [
(
0,
0,
{
"name": self.product.name,
"product_id": self.product.id,
"product_uom": self.product.uom_id.id,
"product_uom_qty": 1,
"product_uom_id": self.product.uom_id.id,
"quantity_product_uom": 1,
"location_dest_id": self.customer_location.id,
"location_id": self.location.id,
},
Expand Down Expand Up @@ -89,15 +88,14 @@ def test_compute_picking_warn_msg_parent(self):
"picking_type_id": self.picking_type_out.id,
"location_id": self.location.id,
"location_dest_id": self.customer_location.id,
"move_lines": [
"move_line_ids": [
(
0,
0,
{
"name": self.product.name,
"product_id": self.product.id,
"product_uom": self.product.uom_id.id,
"product_uom_qty": 1,
"product_uom_id": self.product.uom_id.id,
"quantity_product_uom": 1,
"location_id": self.location.id,
"location_dest_id": self.customer_location.id,
},
Expand Down

0 comments on commit ef53536

Please sign in to comment.