Since the merge of [1], the undo/redo of a resizing is made in one go and not in multiple steps. The row count of the grids are therefore correctly updated at each undo/redo operation. This commit removes the temporary fix made in [2] to always have the correct row count when undoing/redoing, as it is not necessary anymore. [1]: https://github.com/odoo/odoo/commit/423f4bd2a6cc47e69699d2437eaa5acda94bb98d [2]: https://github.com/odoo/odoo/commit/cc406afcea7bf5846233a9f97a4a8ac5f618f3ec task-2973198 X-original-commit: 43d2e588c93b3dc5750eae564c7296159f40c413 Part-of: odoo/odoo#102525