From 0d160851c71f2060f694c3db009a8c3a9f2bd7bf Mon Sep 17 00:00:00 2001 From: David Tran Date: Wed, 30 Nov 2016 15:51:10 +0700 Subject: [PATCH] [ADD] l10n_multilang: allow to translate account tag Account tags are used to describe accounts and contains text that makes ense to be translated for multilangue CoA Closes #14527 --- addons/l10n_multilang/models/account.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/l10n_multilang/models/account.py b/addons/l10n_multilang/models/account.py index 5b8a5e2745a..e7b8b3d4213 100644 --- a/addons/l10n_multilang/models/account.py +++ b/addons/l10n_multilang/models/account.py @@ -6,6 +6,10 @@ from odoo import fields, models #in this file, we mostly add the tag translate=True on existing fields that we now want to be translated +class AccountAccountTag(models.Model): + _inherit = 'account.account.tag' + + name = fields.Char(translate=True) class AccountAccountTemplate(models.Model): _inherit = 'account.account.template'