Browse Source

[FIX] payment: make the payment.acquirer name translatable

To allow to translate "Wire transfer" in the ecommerce.

opw-650450
master
Denis Ledoux 6 years ago
parent
commit
25d8955e98
  1. 2
      addons/payment/models/payment_acquirer.py

2
addons/payment/models/payment_acquirer.py

@ -59,7 +59,7 @@ class PaymentAcquirer(osv.Model):
_provider_selection = lambda self, *args, **kwargs: self._get_providers(*args, **kwargs)
_columns = {
'name': fields.char('Name', required=True),
'name': fields.char('Name', required=True, translate=True),
'provider': fields.selection(_provider_selection, string='Provider', required=True),
'company_id': fields.many2one('res.company', 'Company', required=True),
'pre_msg': fields.html('Message', translate=True,

Loading…
Cancel
Save