diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2010-04-21 19:04:02 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2010-04-21 19:04:02 +0530 |
| commit | 5c3cf27f2fa72cd64c54e6241f10b86a089d357a (patch) | |
| tree | c6b2b469dfd1b4063b058316f367839eb4b9a208 /addons/document/nodes.py | |
| parent | 96ce0830ced03ea5080cc05214900e747c7b584c (diff) | |
[IMP] caldav
bzr revid: hmo@tinyerp.com-20100421133402-191nwwj3nohx6zas
Diffstat (limited to 'addons/document/nodes.py')
| -rw-r--r-- | addons/document/nodes.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/addons/document/nodes.py b/addons/document/nodes.py index 26f6671f218..e74389dd0d4 100644 --- a/addons/document/nodes.py +++ b/addons/document/nodes.py @@ -152,6 +152,12 @@ class node_class(object): its capabilities """ return {} + def match_dav_eprop(self, cr, match, ns, prop): + res = self.get_dav_eprop(cr, ns, prop) + if res == match: + return True + return False + def get_dav_eprop(self,cr,ns,prop): return None @@ -259,8 +265,8 @@ class node_dir(node_database): def get_data(self,cr): res = '' - for child in self.children(cr): - res += child.get_data(cr) + for child in self.children(cr): + res += child.get_data(cr) return res |
