diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2011-12-14 17:59:24 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2011-12-14 17:59:24 +0530 |
| commit | 092f97b32b35af6a40b9d2ae70c3159da2fb235f (patch) | |
| tree | 2974d3719af9338cd0b1814da900d7e9ca8d4779 /addons/share/res_users.py | |
| parent | 593f5f571bbc49673975afc405e9345ef3457b92 (diff) | |
| parent | e36dc8c5e3ca3da1474747bae5ec87fea19b23b8 (diff) | |
[MERGE] merged with trunk-development-branch
bzr revid: hmo@tinyerp.com-20111214122924-izzibrz1yz67rt7g
Diffstat (limited to 'addons/share/res_users.py')
| -rw-r--r-- | addons/share/res_users.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/share/res_users.py b/addons/share/res_users.py index f7a81a24948..0462f1339d0 100644 --- a/addons/share/res_users.py +++ b/addons/share/res_users.py @@ -26,7 +26,13 @@ class res_groups(osv.osv): _columns = { 'share': fields.boolean('Share Group', readonly=True, help="Group created to set access rights for sharing data with some users.") - } + } + + def __init__(self, pool, cr): + super(res_groups, self).__init__(pool, cr) + # add domain in get_groups_by_application() + self.groups_by_application_domain.append(('share', '=', False)) + res_groups() class res_users(osv.osv): |
