我想创建一个没有图标的按钮,只有我显示的文本。我试过不放 'icon' 参数,但它不起作用。
这是我写的代码:
<button name="open_popup" string="Quantités produites" type="object"/>
我知道一种可能性,但我认为这是 chrome 或其他东西中的列表视图错误。
也许你应该在你的按钮上尝试 class="oe_link" ,所以它看起来像一个链接。
<button name="open_popup" string="Quantités produites"
type="object" class="oe_link"/>
在版本 7 中,您可以使用 class="oe_link":
<button name="open_popup" string="Quantités produites" type="object" class="oe_link"/>