Allow to translate category name

issue2036
review48003
This commit is contained in:
Cédric Krier committed 2011-06-23 12:20:03 +02:00
1 parent a3ad703265
commit ebb2f727db
1 file changed
+1 -1
+1 -1
View File
@@ -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',