Hello Sergi
thanks for you support
i use this correction

--- a/src/view/tree.js  Sun Oct 09 18:33:16 2022 +0200
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.1>+++
b/src/view/tree.js      Fri Oct 14 13:12:44 2022 +0200
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.2>@@ -1372,12 +1372,19
@@ <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.3>         var
redraw = function() {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.4>             for (;
i < rows.length; i++) {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.5>                 var
row = rows[i]; <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.6>-
           var record = row.record,
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.7>-
column = row.tree.columns[0];
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.8>-                if
(!record.is_loaded(column.attributes.name)) {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.9>+                var
record = row.record;
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.10>+
var field_name; <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.11>+
             for (var j=0; j < row.tree.columns.length; j++) {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.12>+
 var column = row.tree.columns[j];
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.13>+
 if (column.type == 'field') {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.14>+
     field_name = column.attributes.name;
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.15>+
     break; <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.16>+
             } <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.17>+
            } <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.18>+
           if (field_name && !record.is_loaded(field_name)) {
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.19>
 // Prefetch the first field to prevent promises in
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.20>
 // Cell.render <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.21>-
                 record.load(column.attributes.name).done(redraw);
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.22>+
 record.load(field_name).done(redraw);
<https://hg.tryton.org/sao/rev/955f340ce44f/#l1.23>
 return; <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.24>
      } else { <https://hg.tryton.org/sao/rev/955f340ce44f/#l1.25>
                row.redraw(selected, expanded);

I change the code and restart the service but i still have the same
problemn with appointment



El lun, 17 oct 2022 a las 9:55, Sergi Almacellas Abellana (<se...@koolpi.com>)
escribió:

> Hi Arnold.
>
> There is an upstream bug that makes the appointments view crash on the
> upstream.
> Fortunatly, I already reported and fixed it. You can see the details here:
>
> https://bugs.tryton.org/issue11762
>
> Currently the fix is just on the development branch, but it be
> backported to 6.0 series (the one that gnuhealth uses) in a week or so.
>
> Everything should work as expected once the fix is backported and released.
>
> Hope it helps!
>
> El 17/10/22 a les 16:24, health-dev-requ...@gnu.org ha escrit:
> > tryton web- i can´t see the appointments
>
>
> --
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk
>
>
>

Reply via email to