changeset 634df10ed4f1 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=634df10ed4f1
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/move_line_template_list.xml |  2 +-
 view/move_line_tree.xml          |  2 +-
 view/move_line_tree_move.xml     |  2 +-
 view/tax_line_template_list.xml  |  2 +-
 view/tax_line_tree.xml           |  2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diffs (60 lines):

diff -r 18b5a012423a -r 634df10ed4f1 view/move_line_template_list.xml
--- a/view/move_line_template_list.xml  Sat Dec 28 17:48:50 2019 +0100
+++ b/view/move_line_template_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 editable="top">
+<tree editable="1">
     <field name="move" expand="1"/>
     <field name="account" expand="1"/>
     <field name="party" expand="1"/>
diff -r 18b5a012423a -r 634df10ed4f1 view/move_line_tree.xml
--- a/view/move_line_tree.xml   Sat Dec 28 17:48:50 2019 +0100
+++ b/view/move_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="top" on_write="on_write">
+<tree editable="1" on_write="on_write">
     <field name="move"/>
     <field name="origin" expand="1"/>
     <field name="date"/>
diff -r 18b5a012423a -r 634df10ed4f1 view/move_line_tree_move.xml
--- a/view/move_line_tree_move.xml      Sat Dec 28 17:48:50 2019 +0100
+++ b/view/move_line_tree_move.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="top">
+<tree editable="1">
     <field name="move"/>
     <field name="account" expand="1"/>
     <field name="party" expand="1"/>
diff -r 18b5a012423a -r 634df10ed4f1 view/tax_line_template_list.xml
--- a/view/tax_line_template_list.xml   Sat Dec 28 17:48:50 2019 +0100
+++ b/view/tax_line_template_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 editable="bottom">
+<tree editable="1">
     <field name="tax"/>
     <field name="amount"/>
     <field name="type"/>
diff -r 18b5a012423a -r 634df10ed4f1 view/tax_line_tree.xml
--- a/view/tax_line_tree.xml    Sat Dec 28 17:48:50 2019 +0100
+++ b/view/tax_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="tax" expand="1"/>
     <field name="amount"/>
     <field name="type"/>

Reply via email to