#in this file, we mostly add the tag translate=True on existing fields that we now want to be translated
classAccountAccountTag(models.Model):
_inherit='account.account.tag'
name=fields.Char(translate=True)
classAccountAccountTemplate(models.Model):
_inherit='account.account.template'
name=fields.Char(translate=True)
classAccountAccount(models.Model):
_inherit='account.account'
name=fields.Char(translate=True)
classAccountTax(models.Model):
_inherit='account.tax'
name=fields.Char(translate=True)
description=fields.Char(translate=True)
classAccountTaxTemplate(models.Model):
_inherit='account.tax.template'
name=fields.Char(translate=True)
description=fields.Char(translate=True)
classAccountChartTemplate(models.Model):
_inherit='account.chart.template'
_order='name'
name=fields.Char(translate=True)
spoken_languages=fields.Char(string='Spoken Languages',help="State here the languages for which the translations of templates could be loaded at the time of installation of this localization module and copied in the final object when generating them from templates. You must provide the language codes separated by ';'")