Skip to content

Commit

Permalink
fixup! [BPRT] edi: Backport from 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HviorForgeFlow committed Aug 31, 2023
1 parent 13a3926 commit 8826640
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions edi_oca/views/edi_exchange_type_rule_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,20 @@
<field name="arch" type="xml">
<form>
<sheet>
<field name="active" invisible="1" />
<widget
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<div class="oe_button_box" name="button_box">
<button
name="toggle_active"
type="object"
class="oe_stat_button"
icon="fa-archive"
>
<field
name="active"
widget="boolean_button"
options='{"terminology": "archive"}'
/>
</button>
</div>
<div class="oe_title">
<label for="name" class="oe_edit_only" />
<h1>
Expand Down

0 comments on commit 8826640

Please sign in to comment.