changeset e1ffa6204644 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=e1ffa6204644
description:
        Replace remaining set_current_record by assignation

        issue8109
diffstat:

 src/tab.js |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 584be2585d2a -r e1ffa6204644 src/tab.js
--- a/src/tab.js        Thu Feb 14 16:31:31 2019 +0100
+++ b/src/tab.js        Fri Feb 15 23:07:15 2019 +0100
@@ -504,8 +504,8 @@
                         attributes.res_id = [attributes.res_id];
                     }
                     screen.group.load(attributes.res_id);
-                    screen.set_current_record(
-                        screen.group.get(attributes.res_id));
+                    screen.current_record = screen.group.get(
+                        attributes.res_id);
                     screen.display();
                 } else {
                     if (screen.current_view.view_type == 'form') {

Reply via email to