[FIX] stock: assign serial icon

Using classes and inline style break the list view if the button has a
0 width

closes odoo/odoo#36443

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
Simon Lejeune
2019-09-11 12:39:51 +00:00
parent 86b71e45db
commit bda5fa4372
+1 -2
View File
@@ -346,8 +346,7 @@
<button name="action_show_details" string="Register lots, packs, location" type="object" icon="fa-list" width="0"
attrs="{'invisible': [('show_details_visible', '=', False)]}" options='{"warn": true}'/>
<button name="action_assign_serial" type="object"
class="btn-sm btn-primary fa fa-plus-square-o"
style="line-height: 1;"
icon="fa-plus-square"
width="0"
role="img" title="Assign Serial Numbers"
attrs="{'invisible': [('display_assign_serial', '=', False)]}"/>