[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:
@@ -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)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user