summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorced <>2007-09-20 08:47:57 +0000
committerced <>2007-09-20 08:47:57 +0000
commit88f90e477601dd7304b9c7da07a2dece1c1114ae (patch)
treeea8588ec2da1db360021b1438f15c854df7dfa46 /doc
parent10e2a6d03c18af4589fd20c4451d36187ae901b1 (diff)
Fix typo
bzr revid: ced-c1f42b65cfc3f5286d02b67a9e0b61cf246f79ef
Diffstat (limited to 'doc')
-rw-r--r--doc/migrate/4.0.0-4.2.0/pre.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/migrate/4.0.0-4.2.0/pre.py b/doc/migrate/4.0.0-4.2.0/pre.py
index 1ea4cea4738..e68d86c04d9 100644
--- a/doc/migrate/4.0.0-4.2.0/pre.py
+++ b/doc/migrate/4.0.0-4.2.0/pre.py
@@ -136,7 +136,7 @@ cr.commit()
cr.execute('SELECT model_id FROM ir_model_access')
res= cr.fetchall()
for r in res:
- cr.execute('SELECT id FROM ir_model_access WHERE model_id = %d AND groupd_id IS NULL', (r[0],))
+ cr.execute('SELECT id FROM ir_model_access WHERE model_id = %d AND group_id IS NULL', (r[0],))
if not cr.fetchall():
cr.execute("INSERT into ir_model_access (name,model_id,group_id) VALUES ('Auto-generated access by migration',%d,NULL)",(r[0],))
cr.commit()