From ebb2f727db2b273b0bf6723d9f0abb169f17ad88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 23 Jun 2011 12:20:03 +0200 Subject: [PATCH] Allow to translate category name issue2036 review48003 --- category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/category.py b/category.py index 1dcae09723..fb8e0e4f91 100644 --- a/category.py +++ b/category.py @@ -14,7 +14,7 @@ class Category(ModelSQL, ModelView): "Category" _name = "party.category" _description = __doc__ - name = fields.Char('Name', required=True, states=STATES) + name = fields.Char('Name', required=True, states=STATES, translate=True) parent = fields.Many2One('party.category', 'Parent', select=1, states=STATES) childs = fields.One2Many('party.category', 'parent',