From f2294415d906aefa94357e76e6898e5dbd0b025d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 Aug 2008 18:18:38 +0200 Subject: [PATCH] Allow to modify xml uom --- uom.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uom.py b/uom.py index 6d5eb04341..4da03e42c3 100644 --- a/uom.py +++ b/uom.py @@ -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