Allow to modify xml uom

This commit is contained in:
Cédric Krier committed 2008-08-26 18:18:38 +02:00
1 parent d2131c1c71
commit f2294415d9
1 file changed
+3
+3
View File
@@ -47,6 +47,9 @@ class Uom(OSV):
super(Uom, self).__init__()
self._order.insert(0, ('name', 'ASC'))
def check_xml_record(self, cursor, user, ids, values, context=None):
return True
def default_rate(self, cursor, user, context=None):
return 1.0