New features: can share to groups if user has "Share / User (Extended)" group. Warning message if user does not have email and cannot share by email. Names of sharing groups are now hidden in ORM access denied messages. Better error reporting. UI: more user-friendly labels, titles. More visibible button in web client. Bugfixes: better handling of sharing objects with _inherits, can combine ir.rules if already exist for same (object,group). Button is now hidden in web client if user is not in "Share/User" group. bzr revid: odo@openerp.com-20110408133608-vmdrzfeo0dz28wer
25 lines
1.0 KiB
Python
25 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
##############################################################################
|
|
#
|
|
# OpenERP, Open Source Management Solution
|
|
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
##############################################################################
|
|
|
|
import ir_model
|
|
import res_users
|
|
import wizard
|