changeset a90bc87320bc in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=a90bc87320bc
description:
        Position new record based on order

        We sent an order to the client for action and xxx2Many so its screen has
        always a default order set.
        To position a new record on non editable tree, we use the order of the 
'id'
        column if presents.

        issue8880
        review276501003
diffstat:

 view/inventory_line_tree.xml     |  2 +-
 view/location_lead_time_list.xml |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 6a1f51678c15 -r a90bc87320bc view/inventory_line_tree.xml
--- a/view/inventory_line_tree.xml      Sat Dec 14 10:47:54 2019 +0100
+++ b/view/inventory_line_tree.xml      Sat Dec 28 18:16:28 2019 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
-<tree editable="bottom">
+<tree editable="1">
     <field name="inventory" expand="1"/>
     <field name="product" expand="1"/>
     <field name="expected_quantity"/>
diff -r 6a1f51678c15 -r a90bc87320bc view/location_lead_time_list.xml
--- a/view/location_lead_time_list.xml  Sat Dec 14 10:47:54 2019 +0100
+++ b/view/location_lead_time_list.xml  Sat Dec 28 18:16:28 2019 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
-<tree sequence="sequence" editable="top">
+<tree sequence="sequence" editable="1">
     <field name="warehouse_from" expand="1"/>
     <field name="warehouse_to" expand="1"/>
     <field name="lead_time"/>

Reply via email to