[FIX] stock: quant list editable bottom
Before this commit, the editable quant list was editable by top, which is not really pratical when the user creates (with the keyboard) multiple quants tracked by SN because the focus always go back on the top of the list. Now, this list is editable by bottom. closes odoo/odoo#38743 X-original-commit: c7b069a16ae03066ed531a6b1da671ab994d0994 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
<field name="model">stock.quant</field>
|
||||
<field eval="10" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree decoration-danger="inventory_quantity < 0" editable="top"
|
||||
<tree decoration-danger="inventory_quantity < 0" editable="bottom"
|
||||
create="1" edit="1" js_class="singleton_list">
|
||||
<field name="id" invisible="1"/>
|
||||
<field name="tracking" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user