[FIX] payment: Translatable thanks message

If the help message is translatable,
there is no reason why the thanks message
coudln't be as well.

This is a following of the revision
f37a40c4c0

opw-670228
This commit is contained in:
Denis Ledoux
2016-02-23 12:24:34 +01:00
parent 2fe11b8a2a
commit e7770ed9c7
+2 -1
View File
@@ -65,7 +65,8 @@ class PaymentAcquirer(osv.Model):
'company_id': fields.many2one('res.company', 'Company', required=True),
'pre_msg': fields.html('Help Message', translate=True,
help='Message displayed to explain and help the payment process.'),
'post_msg': fields.html('Thanks Message', help='Message displayed after having done the payment process.'),
'post_msg': fields.html('Thanks Message', translate=True,
help='Message displayed after having done the payment process.'),
'view_template_id': fields.many2one('ir.ui.view', 'Form Button Template', required=True),
'registration_view_template_id': fields.many2one('ir.ui.view', 'S2S Form Template',
domain=[('type', '=', 'qweb')],