OpeneERP:如何创建一个没有图标的按钮(只有文字)

时间:2014-03-17 11:42:27

标签: button openerp openerp-7

我想创建一个没有图标的按钮,只显示我显示的文本。 我试图不把'icon'参数,但它不起作用。

这是我写的代码:

<button name="open_popup" string="Quantités produites" type="object"/>

2 个答案:

答案 0 :(得分:0)

我已经知道了一种可能性,但我认为这是chrome中的listview错误或其他什么。

也许你应该在你的按钮上尝试class =“oe_link”,所以它看起来像一个链接。

<button name="open_popup" string="Quantités produites"
 type="object" class="oe_link"/>

答案 1 :(得分:0)

在版本7中,您可以使用class =“oe_link”:

<button name="open_popup" string="Quantités produites" type="object" class="oe_link"/>