projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9daae4b
)
TOOLS: add ref to function tag
author
ced
<>
Tue, 16 Jan 2007 08:36:36 +0000
(08:36 +0000)
committer
ced
<>
Tue, 16 Jan 2007 08:36:36 +0000
(08:36 +0000)
bzr revid: ced-
6210c6292618f986d515e59e501919668ec7d624
bin/tools/convert.py
patch
|
blob
|
history
diff --git
a/bin/tools/convert.py
b/bin/tools/convert.py
index
e652df5
..
ba20880
100644
(file)
--- a/
bin/tools/convert.py
+++ b/
bin/tools/convert.py
@@
-93,6
+93,7
@@
def _eval_xml(self,node, pool, cr, uid, idref):
args = []
a_eval = node.getAttribute('eval')
if len(a_eval):
+ idref['ref'] = lambda x: self.id_get(cr, False, x)
args = eval(a_eval, idref)
for n in [i for i in node.childNodes if (i.nodeType == i.ELEMENT_NODE)]:
args.append(_eval_xml(self,n, pool, cr, uid, idref))