Skip to content

Commit

Permalink
[FIX] fixes button_open_bindings returned action with proper sale_cha…
Browse files Browse the repository at this point in the history
…nnel_id in domain
  • Loading branch information
nayatec committed Nov 24, 2024
1 parent 75e88fa commit 36eb3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_channel_partner/models/sale_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ def button_open_bindings(self):
"res_model": "sale.channel.partner",
"type": "ir.actions.act_window",
"views": [(tree_view_id, "tree")],
"domain": [("sale_channel", "=", self.id)],
"domain": [("sale_channel_id", "=", self.id)],
}
return act

0 comments on commit 36eb3b6

Please sign in to comment.