details:   https://code.tryton.org/tryton/commit/06b26507c48e
branch:    7.8
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
        (grafted from 8f4c0ee1f9cb0f75692f28cf87ef0da7496b5b54)
diffstat:

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

diffs (12 lines):

diff -r 190e831cbd71 -r 06b26507c48e sao/src/view/tree.js
--- a/sao/src/view/tree.js      Tue Mar 03 18:37:56 2026 +0100
+++ b/sao/src/view/tree.js      Tue Mar 03 18:33:24 2026 +0100
@@ -477,7 +477,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