Tree view with "sum" attribute scrolls down indefinitely
(Tested in SAO using develop and 6.4 branches) For this example, will use the account invoice module as base. 1. Create a new database and install account_invoice module and its dependencies. 2. Create some invoices, enough to be able to do some scroll (tested with 1000 invoices). 3. In account_invoice "invoice_tree" view, add the sum attribute in any of the fields, in this case will add this attribute in the field "untaxed_amount" (https://foss.heptapod.net/tryton/tryton/-/blob/f4f2af12d6d93dd00090c3ccddfdade9707cd99d/modules/account_invoice/view/invoice_tree.xml#L11) ```xml <field name="untaxed_amount" optional="0" sum="Untaxed Amount"/> ``` 4. Now if we save and upload the module view and go to the invoice tree view, if we try to do scroll down it will start to scroll indefinitely, until we arrive to the last record of the page or until the user move de scrollbar with the mouse. The correct behavior should be the same we have without the "sum" attribute.
issue