From 26f4dbbcd3a9be3761349efff632b841017c06aa Mon Sep 17 00:00:00 2001 From: qdp Date: Wed, 28 Jan 2009 14:22:30 +0100 Subject: [PATCH] [FIX] added translate = true on name field of account_invoice_tax object lp bug: https://launchpad.net/bugs/319537 fixed bzr revid: qdp@tinyerp.com-20090128132230-w0w7q3jgolam9hdx --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 5348f4f8ab8..80e00f6124c 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1077,7 +1077,7 @@ class account_invoice_tax(osv.osv): _description = "Invoice Tax" _columns = { 'invoice_id': fields.many2one('account.invoice', 'Invoice Line', ondelete='cascade', select=True), - 'name': fields.char('Tax Description', size=64, required=True), + 'name': fields.char('Tax Description', size=64, required=True, translate=True), 'account_id': fields.many2one('account.account', 'Tax Account', required=True, domain=[('type','<>','view'),('type','<>','income'), ('type', '<>', 'closed')]), 'base': fields.float('Base', digits=(16,2)), 'amount': fields.float('Amount', digits=(16,2)),