__manifest__.py 923 B

1234567891011121314151617181920212223242526272829303132333435
  1. # -*- coding: utf-8 -*-
  2. {
  3. 'name': "product_page_access",
  4. 'summary': "Add users to groups based on their purchases.",
  5. 'description': """
  6. Restrict page access based on product purchases
  7. """,
  8. 'author': "dmsc.dev",
  9. 'website': "https://www.dmsc.dev",
  10. # Categories can be used to filter modules in modules listing
  11. # Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
  12. # for the full list
  13. 'category': 'Website',
  14. 'version': '0.1',
  15. # any module necessary for this one to work correctly
  16. 'depends': ['base', 'website', 'website_sale', 'sale'],
  17. # always loaded
  18. 'data': [
  19. 'security/product_page_access_security.xml',
  20. 'security/ir.model.access.csv',
  21. 'views/views.xml',
  22. 'views/templates.xml',
  23. ],
  24. # only loaded in demonstration mode
  25. 'demo': [
  26. 'demo/demo.xml',
  27. ],
  28. }