Switch to using the action_id itself instead of reverse-matching action_id from view_id * Not all ir_act_window have a view_id, for some we're supposed to go through ir_act_window_view * Multiple ir_act_window (or ir_act_window_view) may have the same view_id, and we don't really have enough information to select the right one Keep the old resolution via view_id for now, in case users update their web client and their addons out of sync bzr revid: xmo@openerp.com-20110208123241-lj8v12ygz2a0jsgx
57 lines
2.1 KiB
Python
57 lines
2.1 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/>.
|
|
#
|
|
##############################################################################
|
|
|
|
|
|
{
|
|
"name" : "Sharing Tools",
|
|
"version" : "1.3",
|
|
"depends" : ["base"],
|
|
"author" : "OpenERP SA",
|
|
"category": 'Generic Modules',
|
|
"description": """
|
|
|
|
This module adds generic sharing tools to your current OpenERP database,
|
|
and specifically a 'share' button that is available in the Web client to
|
|
share any kind of OpenERP data with colleagues, customers, friends, etc.
|
|
|
|
The system will work by creating new users and groups on the fly, and by
|
|
combining the appropriate access rights and ir.rules to ensure that the
|
|
shared users only have access to the data that has been shared with them.
|
|
|
|
This is extremely useful for collaborative work, knowledge sharing,
|
|
synchronization with other companies, etc.
|
|
|
|
""",
|
|
'website': 'http://www.openerp.com',
|
|
'demo_xml': ['share_demo.xml'],
|
|
'data': [
|
|
'security/share_security.xml',
|
|
'share_view.xml',
|
|
'res_users_view.xml',
|
|
'wizard/share_wizard_view.xml'
|
|
],
|
|
'installable': True,
|
|
'web': True,
|
|
'certificate' : '001301246528927038493',
|
|
}
|
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|