Skip to content

Commit

Permalink
[FIX] stock_release_channel: Allow to see inactive partners
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rousseldenis committed Oct 13, 2023
1 parent 397863e commit e7d3828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stock_release_channel/models/stock_release_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ class StockReleaseChannel(models.Model):
column1="channel_id",
column2="partner_id",
string="Partners",
context={"active_test": False},
)

@api.depends("state")
Expand Down

0 comments on commit e7d3828

Please sign in to comment.