From da8de7cfa06c743345fa2118d5aa7d3d9f5b8067 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 7 Aug 2020 08:10:01 +0000 Subject: [PATCH] [FIX] point_of_sale: name not translatable A POS payment method should be translatable. opw-2314353 closes odoo/odoo#55623 X-original-commit: 84cb31f8632785caf9a313c8423550b5ca51ed11 Signed-off-by: Nicolas Martinelli (nim) --- addons/point_of_sale/models/pos_payment_method.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/models/pos_payment_method.py b/addons/point_of_sale/models/pos_payment_method.py index 3ac0e51ec3a..42891c6a590 100644 --- a/addons/point_of_sale/models/pos_payment_method.py +++ b/addons/point_of_sale/models/pos_payment_method.py @@ -22,7 +22,7 @@ class PosPaymentMethod(models.Model): def _get_payment_terminal_selection(self): return [] - name = fields.Char(string="Payment Method", required=True) + name = fields.Char(string="Payment Method", required=True, translate=True) receivable_account_id = fields.Many2one('account.account', string='Intermediary Account', required=True,