changeset 7eaa38f7794d in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset;node=7eaa38f7794d
description:
        field_name is used by selection_mixin to filter selection based on 
domain
        evaluation.
        The model_name exists on tryton so we add it for completeness.

        issue9056
        review282991004
diffstat:

 src/view/tree.js |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r a2029b8fb4a3 -r 7eaa38f7794d src/view/tree.js
--- a/src/view/tree.js  Mon Feb 17 23:15:55 2020 +0100
+++ b/src/view/tree.js  Sat Feb 29 00:55:41 2020 +0100
@@ -1582,6 +1582,8 @@
             this.suffixes = [];
             this.header = null;
             this.footers = [];
+            this.field_name = this.attribute.name;
+            this.model_name = model.name;
         },
         get_cell: function() {
             var cell = jQuery('<div/>', {

Reply via email to