We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b7601 commit d7cc954Copy full SHA for d7cc954
stock_owner_restriction/tests/test_stock_owner_restriction.py
@@ -70,7 +70,7 @@ def test_product_qty_available(self):
70
# context depends of product qty_available
71
self.assertEqual(
72
self.product.with_context(
73
- force_restricted_owner_id=self.owner.id
+ force_restricted_owner_id=self.owner
74
).qty_available,
75
500.00,
76
)
0 commit comments