diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py index b00ae9db7be..53cf377eed7 100644 --- a/addons/payment/models/payment_acquirer.py +++ b/addons/payment/models/payment_acquirer.py @@ -54,6 +54,12 @@ class PaymentAcquirer(models.Model): string="Inline Form Template", comodel_name='ir.ui.view', help="The template rendering the inline payment form when making a direct payment", domain=[('type', '=', 'qweb')]) + token_inline_form_view_id = fields.Many2one( + string="Token Inline Form Template", + comodel_name='ir.ui.view', + help="The template rendering the inline payment form when making a payment by token.", + domain=[('type', '=', 'qweb')], + ) country_ids = fields.Many2many( string="Countries", comodel_name='res.country', relation='payment_country_rel', column1='payment_id', column2='country_id', diff --git a/addons/payment/views/payment_templates.xml b/addons/payment/views/payment_templates.xml index f5cbcf29261..5267066238e 100644 --- a/addons/payment/views/payment_templates.xml +++ b/addons/payment/views/payment_templates.xml @@ -85,11 +85,11 @@