From c20d891b71efa9bd5fd809735f7d6e7854b3b40b Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Fri, 13 Oct 2023 13:58:37 +0200 Subject: [PATCH] [FIX] stock_release_channel: Allow to see inactive partners As the filter to assign channel will take into account void partner_ids field (allow all) or filled in (allow only those ones), the resulting query take into account inactive partners. Debug is difficult as form will show void partners even if relation table contain records. --- stock_release_channel/models/stock_release_channel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stock_release_channel/models/stock_release_channel.py b/stock_release_channel/models/stock_release_channel.py index 0ef1ccf1a8..f37a2e1c10 100644 --- a/stock_release_channel/models/stock_release_channel.py +++ b/stock_release_channel/models/stock_release_channel.py @@ -208,6 +208,7 @@ class StockReleaseChannel(models.Model): column1="channel_id", column2="partner_id", string="Partners", + context={"active_test": False}, ) @api.depends("state")