Skip to content

Commit 7a435d2

Browse files
committed
[tree btn]改变按钮样式, 之后也可以考虑动态添加
1 parent 25a69f5 commit 7a435d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tree_view_button/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ buttons: 严格的json格式
6666

6767
## Ps:
6868

69-
- ~`DONE` #Todo 之后添加翻译and权限
69+
- ~`DONE` ~~#Todo 之后添加翻译and权限~~
7070

tree_view_button/static/src/xml/qweb_tree_button.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<t t-name="TreeButton.buttons">
55
<t t-if="widget.options.buttons">
66
<t t-foreach="widget.options.buttons" t-as="bt">
7-
<button type="button" t-att-class="'btn btn-sm btn-primary o_tree_bt_'+bt[0]">
7+
<button type="button" t-att-class="'btn btn-sm btn-default o_tree_bt_'+bt[0]">
88
<t t-esc="_(bt[1])"/>
99
</button>
1010
</t>

0 commit comments

Comments
 (0)