[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
This commit is contained in:
David Tran
2016-11-30 13:55:53 +01:00
committed by Martin Trigaux
parent f16d2e9ec7
commit 0d160851c7
+4
View File
@@ -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'