[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
This commit is contained in:
Alexis de Lattre
2016-12-19 10:41:39 +01:00
committed by Martin Trigaux
parent 1b1da3b399
commit 4fb380c107
+1 -1
View File
@@ -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',