[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:
svs-odoo
2019-10-14 17:14:13 +00:00
committed by fw-bot
parent b27693d97d
commit 506d84a5fb
+1 -1
View File
@@ -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 &lt; 0" editable="top"
<tree decoration-danger="inventory_quantity &lt; 0" editable="bottom"
create="1" edit="1" js_class="singleton_list">
<field name="id" invisible="1"/>
<field name="tracking" invisible="1"/>