[FIX] typo
authorJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 3 Jul 2012 08:51:27 +0000 (14:21 +0530)
committerJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 3 Jul 2012 08:51:27 +0000 (14:21 +0530)
bzr revid: jam@tinyerp.com-20120703085127-8m8y25nmm4acbkmq

openerp/tools/view_validation.py

index a1be317..fb7ed9f 100644 (file)
@@ -17,7 +17,7 @@ def valid_att_in_field(arch):
     return not arch.xpath('//field[not (@name)]')
 
 def valid_att_in_label(arch):
-    """A `for` and `string` attribute must be in a `lable` node."""
+    """A `for` and `string` attribute must be in a `label` node."""
     return not arch.xpath('//label[not ((@for) or (@string))]')
     
 def valid_att_in_tree(arch):