__openerp__.py 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
  5. # All Rights Reserved.
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. 'name': 'Multi Store',
  23. 'version': '8.0.2.0.0',
  24. 'category': 'Accounting',
  25. 'sequence': 14,
  26. 'summary': '',
  27. 'description': """
  28. Multi Store
  29. ===========
  30. The main purpose of this module is to restrict journals access for users on different stores.
  31. This module add a new concept "stores" in some point similar to multicompany.
  32. Similar to multicompany:
  33. * User can have multiple stores available (store_ids)
  34. * User can be active only in one store (store_id) which can be set up in his own preferences
  35. * There is a group "multi store" that gives users the availability to see multi store fields
  36. This module also adds a store_id field on journal:
  37. * If store_id = False then journal can be seen by everyone
  38. * If store_id is set, then journal can be seen by users on that store and parent stores
  39. It also restrict edition, creation and unlink on: account.move, account.invoice and account.voucher.
  40. It is done with the same logic to journal. We do not limitate the "read" of this models because user should need to access those documents, for example, to see partner due.
  41. """,
  42. 'author': 'ADHOC SA - Eiru',
  43. 'website': 'www.adhoc.com.ar',
  44. 'license': 'AGPL-3',
  45. 'images': [
  46. ],
  47. 'depends': [
  48. 'account_voucher',
  49. ],
  50. 'data': [
  51. 'views/res_store_view.xml',
  52. 'views/res_users_view.xml',
  53. 'views/account_view.xml',
  54. 'security/multi_store_security.xml',
  55. 'security/ir.model.access.csv',
  56. ],
  57. 'demo': [
  58. ],
  59. 'test': [
  60. ],
  61. 'installable': True,
  62. 'auto_install': False,
  63. 'application': False,
  64. }
  65. # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: