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:
fb2e7a4
)
[FIX] orm: a typo made all models treated as if they were transient in check_access_r...
author
Vo Minh Thu
<vmt@openerp.com>
Tue, 4 Oct 2011 14:33:35 +0000
(16:33 +0200)
committer
Vo Minh Thu
<vmt@openerp.com>
Tue, 4 Oct 2011 14:33:35 +0000
(16:33 +0200)
bzr revid: vmt@openerp.com-
20111004143335
-7etc6y2kje1y20ef
openerp/osv/orm.py
patch
|
blob
|
history
diff --git
a/openerp/osv/orm.py
b/openerp/osv/orm.py
index
2b1a3ff
..
9c6d493
100644
(file)
--- a/
openerp/osv/orm.py
+++ b/
openerp/osv/orm.py
@@
-3480,7
+3480,7
@@
class BaseModel(object):
if uid == SUPERUSER_ID:
return
- if self.is_transient:
+ if self.is_transient():
# Only one single implicit access rule for transient models: owner only!
# This is ok to hardcode because we assert that TransientModels always
# have log_access enabled and this the create_uid column is always there.