old_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
  #    Copyright (C) 2010-2011 OpenERP SA (<http://www.openerp.com>).
  #
  #    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' : 'Share any Document',
      'version' : '2.0',
      'depends' : ['base', 'mail'],
      'author' : 'OpenERP SA',
      'category': 'Tools',
      'description': """
  This module adds generic sharing tools to your current OpenERP database.
  ========================================================================
  
  It specifically adds a 'share' button that is available in the Web client to
  share any kind of OpenERP data with colleagues, customers, friends.
  
  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.
      """,
      'website': 'https://www.odoo.com',
      'demo': ['share_demo.xml'],
      'data': [
          'security/ir.model.access.csv',
          'security/share_security.xml',
          'res_users_view.xml',
          'wizard/share_wizard_view.xml',
          'share_data.xml',
          'views/share.xml',
      ],
      'installable': True,
      'auto_install': True,
      'web': True,
      'qweb' : ['static/src/xml/*.xml'],
  }
  
  # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
  
new_contents: # -*- coding: utf-8 -*-
  ##############################################################################
  #
  #    OpenERP, Open Source Management Solution
  #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
  #    Copyright (C) 2010-2011 OpenERP SA (<http://www.openerp.com>).
  #
  #    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' : 'Share any Document',
      'version' : '2.0',
      'depends' : ['base', 'mail'],
      'author' : 'OpenERP SA',
      'category': 'Tools',
      'description': """
  This module adds generic sharing tools to your current OpenERP database.
  ========================================================================
  
  It specifically adds a 'share' button that is available in the Web client to
  share any kind of OpenERP data with colleagues, customers, friends.
  
  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.
      """,
      'website': 'https://www.odoo.com',
      'demo': ['share_demo.xml'],
      'data': [
          'security/share_security.xml',
          'security/ir.model.access.csv',
          'res_users_view.xml',
          'wizard/share_wizard_view.xml',
          'share_data.xml',
          'views/share.xml',
      ],
      'installable': True,
      'auto_install': True,
      'web': True,
      'qweb' : ['static/src/xml/*.xml'],
  }
  
  # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
  
subject: create group before creating a model access with this group