parameters: (self, *args, currency_id=None, **kwargs)
return_statement: return acquirers
docstring: Override of payment to unlist Mollie acquirers for unsupported currencies.
docstring_summary: Override of payment to unlist Mollie acquirers for unsupported currencies.
docstring_tokens: Override of payment to unlist Mollie acquirers for unsupported currencies .
function: def _get_compatible_acquirers(self, *args, currency_id=None, **kwargs):
          """ Override of payment to unlist Mollie acquirers for unsupported currencies. """
          acquirers = super()._get_compatible_acquirers(*args, currency_id=currency_id, **kwargs)
  
          currency = self.env['res.currency'].browse(currency_id).exists()
          if currency and currency.name not in SUPPORTED_CURRENCIES:
              acquirers = acquirers.filtered(lambda a: a.provider != 'mollie')
  
          return acquirers
function_tokens: def _get_compatible_acquirers ( self , * args , currency_id = None , * * kwargs ) : acquirers = super ( ) . _get_compatible_acquirers ( * args , currency_id = currency_id , * * kwargs ) currency = self . env [ 'res.currency' ] . browse ( currency_id ) . exists ( ) if currency and currency . name not in SUPPORTED_CURRENCIES : acquirers = acquirers . filtered ( lambda a : a . provider != 'mollie' ) return acquirers