Skip to content

Commit 8ff0096

Browse files
committed
Merge PR #1041 into 15.0
Signed-off-by pedrobaeza
2 parents d7e22b7 + 33e6e07 commit 8ff0096

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: contract/views/contract.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@
7070
</header>
7171
<sheet string="Contract">
7272
<field name="active" invisible="1" />
73-
<widget
74-
name="web_ribbon"
75-
text="Archived"
76-
bg_color="bg-danger"
77-
attrs="{'invisible': [('active', '=', True)]}"
78-
/>
7973
<div class="oe_button_box" name="button_box">
8074
<button
8175
name="action_show_invoices"
@@ -91,6 +85,12 @@
9185
/>
9286
</button>
9387
</div>
88+
<widget
89+
name="web_ribbon"
90+
title="Archived"
91+
bg_color="bg-danger"
92+
attrs="{'invisible': [('active', '=', True)]}"
93+
/>
9494
<div class="oe_title">
9595
<label for="name" string="Contract Name" class="oe_edit_only" />
9696
<h3>

Diff for: subscription_oca/views/sale_subscription_views.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</div>
6666
<widget
6767
name="web_ribbon"
68-
text="Archived"
68+
title="Archived"
6969
bg_color="bg-danger"
7070
attrs="{'invisible': [('active', '=', True)]}"
7171
/>

0 commit comments

Comments
 (0)