This commit fixes the number of cells created in the ListView's footer when the optional field's button is present. Steps to reproduce: - Open Accounting > Customer Invoices - Switch to ListView => the footer (containing totals) has one less cell closes odoo/odoo#102222 Forward-port-of: odoo/odoo#101954 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Pierre Paridans (app) <app@odoo.com>