From d4f49a7f12fb0900db77746bbfb69aeb8ef19c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 18 Jun 2008 18:55:41 +0200 Subject: [PATCH] Add tax description for reports --- tax.py | 4 +++- tax.xml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tax.py b/tax.py index cfa9b704d8..79aaa52881 100644 --- a/tax.py +++ b/tax.py @@ -196,7 +196,9 @@ class Tax(OSV): _name = 'account.tax' _description = 'Account Tax' - name = fields.Char('Name', size=None, required=True, translate=True) + name = fields.Char('Name', required=True, translate=True) + description = fields.Char('Description', required=True, translate=True, + help="The name that will be used in reports") group = fields.Many2One('account.tax.group', 'Group', required=True, states={ 'invisible': "locals().get('parent', True)", diff --git a/tax.xml b/tax.xml index aedda01932..2029caa4f0 100644 --- a/tax.xml +++ b/tax.xml @@ -125,6 +125,8 @@