Skip to content

Commit ea18de7

Browse files
committed
[IMP] spreadsheet_dashboard_oca: allow to edit any dashboard
1 parent d3d3843 commit ea18de7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spreadsheet_dashboard_oca/views/spreadsheet_dashboard.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,11 @@
2525
widget="binary"
2626
filename="name"
2727
/>
28-
<!-- Put the button 2 times for having the edit button explicitly disabled for discoverability -->
2928
<button
3029
name="open_spreadsheet"
3130
type="object"
3231
string="Edit"
3332
icon="fa-pencil"
34-
disabled="1"
35-
groups="base.group_system"
36-
invisible="can_edit"
37-
/>
38-
<button
39-
name="open_spreadsheet"
40-
type="object"
41-
string="Edit"
42-
icon="fa-pencil"
43-
groups="base.group_system"
44-
invisible="not can_edit"
4533
/>
4634
<button
4735
name="copy"

0 commit comments

Comments
 (0)