From 4fb380c107384d748c71fe5ef4160ceeeb1105ee Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 15 Dec 2016 11:07:24 +0100 Subject: [PATCH] [ADD] account: translate note on ka fiscal position The 'note' field on account.fiscal.position is the "Legal mentions that have to be printed on the invoices." As the invoice is translated in the customer language, it makes sense to be able to translate this note too. Closes #14735 --- addons/account/models/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/partner.py b/addons/account/models/partner.py index 3ca9f8f10ee..9c8e00bd62c 100644 --- a/addons/account/models/partner.py +++ b/addons/account/models/partner.py @@ -20,7 +20,7 @@ class AccountFiscalPosition(models.Model): company_id = fields.Many2one('res.company', string='Company') account_ids = fields.One2many('account.fiscal.position.account', 'position_id', string='Account Mapping', copy=True) tax_ids = fields.One2many('account.fiscal.position.tax', 'position_id', string='Tax Mapping', copy=True) - note = fields.Text('Notes', help="Legal mentions that have to be printed on the invoices.") + note = fields.Text('Notes', translate=True, help="Legal mentions that have to be printed on the invoices.") auto_apply = fields.Boolean(string='Detect Automatically', help="Apply automatically this fiscal position.") vat_required = fields.Boolean(string='VAT required', help="Apply only if partner has a VAT number.") country_id = fields.Many2one('res.country', string='Country',