Make it possible to override both before and after execute actions on all view controllers using `useViewButtons`. This avoids having to change a value in the env to override the function being called when clicking on a button. closes odoo/odoo#101310 X-original-commit: 9f6c2b8e969635f35786d58ee89ca767ff57144d Related: odoo/enterprise#31860 Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>