diff options
| author | Denis Ledoux <dle@openerp.com> | 2014-03-24 15:35:58 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2014-03-24 15:35:58 +0100 |
| commit | 6cf9867f15bde5edb8295c51fca4ec616109bf99 (patch) | |
| tree | bac96a047414b2f1f5576f8c07d68b39e6dca991 /addons/share/wizard/share_wizard.py | |
| parent | 5692dbdb5eec6ca3bf52e4d66b9b6cec92d90d88 (diff) | |
[REF] *: share field is now a computed field, if the user is in the employee group or not
bzr revid: dle@openerp.com-20140324143558-jqdm33c0i7wna3va
Diffstat (limited to 'addons/share/wizard/share_wizard.py')
| -rw-r--r-- | addons/share/wizard/share_wizard.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index 10937015dd6..551b08d02cf 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -258,7 +258,6 @@ class share_wizard(osv.TransientModel): 'name': new_user, 'email': new_user, 'groups_id': [(6,0,[group_id])], - 'share': True, 'company_id': current_user.company_id.id, 'company_ids': [(6, 0, [current_user.company_id.id])], }, context) @@ -276,7 +275,6 @@ class share_wizard(osv.TransientModel): 'password': new_pass, 'name': new_login, 'groups_id': [(6,0,[group_id])], - 'share': True, 'company_id': current_user.company_id.id, 'company_ids': [(6, 0, [current_user.company_id.id])], }, context) |
