[IMP] base_action_rule: typo
bzr revid: rco@openerp.com-20121221142333-ml6saych44rl99ok
This commit is contained in:
parent
0cd5dc1195
commit
6502ec2af8
|
@ -189,7 +189,7 @@ class base_action_rule(osv.osv):
|
||||||
|
|
||||||
def _register_hook(self, cr, ids=None):
|
def _register_hook(self, cr, ids=None):
|
||||||
""" Wrap the methods `create` and `write` of the models specified by
|
""" Wrap the methods `create` and `write` of the models specified by
|
||||||
the rules given by `ids` (or all existing rules if `ids` is `Ǹone`.)
|
the rules given by `ids` (or all existing rules if `ids` is `None`.)
|
||||||
"""
|
"""
|
||||||
if ids is None:
|
if ids is None:
|
||||||
ids = self.search(cr, SUPERUSER_ID, [])
|
ids = self.search(cr, SUPERUSER_ID, [])
|
||||||
|
|
Loading…
Reference in New Issue