Add one2many on uom category to uom

This commit is contained in:
Cédric Krier
2008-04-08 17:25:39 +02:00
parent 568fdfab13
commit 29392d9397
+1
View File
@@ -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()