Skip to content

Commit

Permalink
[FIX] product_packaging_container_deposit: Deprecated method invalida…
Browse files Browse the repository at this point in the history
…te_cache()
  • Loading branch information
bosd committed Feb 13, 2024
1 parent 5295d8f commit 67a2fe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def test_sale_product_packaging_container_deposit_quantities_case7(self):
box_line = self.sale_order.order_line.filtered(
lambda ol: ol.product_id == self.box
)
(box_line | pallet_line).invalidate_cache()
(box_line | pallet_line).invalidate_recordset()
self.assertEqual(pallet_line.qty_delivered, 0)
self.assertEqual(box_line.qty_delivered, 5)

Expand Down

0 comments on commit 67a2fe9

Please sign in to comment.