mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
name of payment mode is now translatable
This commit is contained in:
committed by
Enric Tobella
parent
552703aa8d
commit
0d104f4cef
@@ -14,7 +14,7 @@ class AccountPaymentMode(models.Model):
|
||||
_description = 'Payment Modes'
|
||||
_order = 'name'
|
||||
|
||||
name = fields.Char(string='Name', required=True)
|
||||
name = fields.Char(string='Name', required=True, translate=True)
|
||||
company_id = fields.Many2one(
|
||||
'res.company', string='Company', required=True, ondelete='restrict',
|
||||
default=lambda self: self.env['res.company']._company_default_get(
|
||||
|
||||
Reference in New Issue
Block a user