Since the dependency to account_edi has been removed from l10n_mx_edi and knowing we plan to remove completely the account_edi module and since it's the single localization needing an EDI on payments, all this code can be removed. Task: 3069324 Part-of: odoo/odoo#128395