Skip to content

Commit

Permalink
stock_release_channel_partner_by_date: display archived specific chan…
Browse files Browse the repository at this point in the history
…nels
  • Loading branch information
sebalix committed Jan 13, 2025
1 parent ea3807b commit 6ef302a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ class ResPartner(models.Model):
inverse_name="partner_id",
string="Additional Release Channels",
help="Additional release channels for a specific delivery date.",
context={"active_test": False},
)
3 changes: 2 additions & 1 deletion stock_release_channel_partner_by_date/views/res_partner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
colspan="2"
/>
<field name="stock_release_channel_by_date_ids" nolabel="1" colspan="2">
<tree editable="top">
<tree editable="top" decoration-muted="active == False">
<field name="active" invisible="1" />
<field name="partner_id" invisible="1" force_save="1" />
<field name="release_channel_id" options="{'no_create': True}" />
<field name="date" />
Expand Down

0 comments on commit 6ef302a

Please sign in to comment.