Skip to content

Commit d7cc954

Browse files
AungKoKoLin1997kanda999
authored andcommitted
[UPD] stock_owner_restriction: update tests
1 parent c4b7601 commit d7cc954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stock_owner_restriction/tests/test_stock_owner_restriction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_product_qty_available(self):
7070
# context depends of product qty_available
7171
self.assertEqual(
7272
self.product.with_context(
73-
force_restricted_owner_id=self.owner.id
73+
force_restricted_owner_id=self.owner
7474
).qty_available,
7575
500.00,
7676
)

0 commit comments

Comments
 (0)