diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-08-07 08:10:01 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-08-07 11:02:36 +0000 |
| commit | da8de7cfa06c743345fa2118d5aa7d3d9f5b8067 (patch) | |
| tree | 05ae280dc2cd0edbb5f835354d88a86ebb63076d /addons/point_of_sale/models | |
| parent | 255e880c2c98a2c7d7570a49d212ede75663fe5a (diff) | |
[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) <nim@odoo.com>
Diffstat (limited to 'addons/point_of_sale/models')
| -rw-r--r-- | addons/point_of_sale/models/pos_payment_method.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
