diff --git a/uom.py b/uom.py index 631491f929..67c6e65cd9 100644 --- a/uom.py +++ b/uom.py @@ -10,6 +10,7 @@ class UomCategory(OSV): _description = __doc__ _order = 'name' name = fields.Char('Name', size=64, required=True) + uoms = fields.One2Many('product.uom', 'category', 'Unit of Measures') UomCategory()