details:   https://code.tryton.org/tryton/commit/8f4c0ee1f9cb
branch:    default
user:      Cédric Krier <[email protected]>
date:      Tue Mar 03 18:33:24 2026 +0100
description:
        Get custom column width using column attribute name

        Closes #14643
diffstat:

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

diffs (12 lines):

diff -r b529128ca42c -r 8f4c0ee1f9cb sao/src/view/tree.js
--- a/sao/src/view/tree.js      Thu Mar 05 08:10:46 2026 +0100
+++ b/sao/src/view/tree.js      Tue Mar 03 18:33:24 2026 +0100
@@ -475,7 +475,7 @@
 
             let tree_column_width = (
                 Sao.Screen.tree_column_width[this.screen.model_name] || {});
-            let width = tree_column_width[name];
+            let width = tree_column_width[column.attributes.name];
             if (width || column.attributes.width) {
                 if (!width) {
                     width = column.attributes.width;

Reply via email to