The confirmation dialog to delete a token from a portal user is the same whatever the linked records. This part of the code is now moved to a separate function `_buildConfirmationDialog` in order to allow overrides of the method in particular cases (e.g. Subscriptions). task-3048269 closes odoo/odoo#105289 X-original-commit: 51d6b724f061af44bc07c342dfa9a34b4d1a2101 Related: odoo/enterprise#33741 Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>