pos_session.py 398 B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import models
  4. class PosSession(models.Model):
  5. _inherit = 'pos.session'
  6. def _loader_params_pos_payment_method(self):
  7. result = super()._loader_params_pos_payment_method()
  8. result['search_params']['fields'].append('adyen_terminal_identifier')
  9. return result