From 9aa7bd0bfe97cba6eea4f874f8a16704d4ad82ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 23 Jul 2008 20:37:32 +0200 Subject: [PATCH] Allow to modify xml location --- location.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/location.py b/location.py index b881be92ce..3e221b8c43 100644 --- a/location.py +++ b/location.py @@ -69,6 +69,9 @@ class Location(OSV): def default_type(self, cursor, user, context=None): return 'storage' + def check_xml_record(self, cursor, user, ids, values, context=None): + return True + def name_search(self, cursor, user, name, args=None, operator='ilike', context=None, limit=None): if not args: