__manifest__.py 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'Sales',
  5. 'version': '1.2',
  6. 'category': 'Sales/Sales',
  7. 'summary': 'Sales internal machinery',
  8. 'description': """
  9. This module contains all the common features of Sales Management and eCommerce.
  10. """,
  11. 'depends': [
  12. 'sales_team',
  13. 'account_payment', # -> account, payment, portal
  14. 'utm',
  15. ],
  16. 'data': [
  17. 'security/ir.model.access.csv',
  18. 'security/res_groups.xml',
  19. 'security/ir_rules.xml',
  20. 'report/account_invoice_report_views.xml',
  21. 'report/ir_actions_report_templates.xml',
  22. 'report/ir_actions_report.xml',
  23. 'report/sale_report_views.xml',
  24. 'data/ir_sequence_data.xml',
  25. 'data/mail_activity_type_data.xml',
  26. 'data/mail_message_subtype_data.xml',
  27. 'data/mail_template_data.xml',
  28. 'data/sale_data.xml',
  29. 'wizard/account_accrued_orders_wizard_views.xml',
  30. 'wizard/payment_link_wizard_views.xml',
  31. 'wizard/sale_make_invoice_advance_views.xml',
  32. 'wizard/sale_order_cancel_views.xml',
  33. # Define sale order views before their references
  34. 'views/sale_order_views.xml',
  35. 'views/account_views.xml',
  36. 'views/crm_team_views.xml',
  37. 'views/mail_activity_views.xml',
  38. 'views/payment_templates.xml',
  39. 'views/payment_views.xml',
  40. 'views/product_packaging_views.xml',
  41. 'views/product_views.xml',
  42. 'views/res_config_settings_views.xml',
  43. 'views/res_partner_views.xml',
  44. 'views/variant_templates.xml',
  45. 'views/sale_onboarding_views.xml',
  46. 'views/sale_order_line_views.xml',
  47. 'views/sale_portal_templates.xml',
  48. 'views/utm_campaign_views.xml',
  49. 'views/sale_menus.xml', # Last because referencing actions defined in previous files
  50. ],
  51. 'demo': [
  52. 'data/product_demo.xml',
  53. 'data/sale_demo.xml',
  54. ],
  55. 'installable': True,
  56. 'assets': {
  57. 'web.assets_backend': [
  58. 'sale/static/src/scss/sale_onboarding.scss',
  59. 'sale/static/src/scss/product_configurator.scss',
  60. 'sale/static/src/js/sale_progressbar_field.js',
  61. 'sale/static/src/js/tours/sale.js',
  62. 'sale/static/src/js/product_discount_field.js',
  63. 'sale/static/src/js/sale_product_field.js',
  64. 'sale/static/src/xml/**/*',
  65. ],
  66. 'web.assets_frontend': [
  67. 'sale/static/src/scss/sale_portal.scss',
  68. 'sale/static/src/js/sale_portal_sidebar.js',
  69. 'sale/static/src/js/sale_portal.js',
  70. 'sale/static/src/js/payment_form.js',
  71. ],
  72. 'web.assets_tests': [
  73. 'sale/static/tests/tours/**/*',
  74. ],
  75. 'web.qunit_suite_tests': [
  76. 'sale/static/tests/**/*',
  77. ('remove', 'sale/static/tests/tours/**/*')
  78. ],
  79. 'web.report_assets_common': [
  80. 'sale/static/src/scss/sale_report.scss',
  81. ],
  82. },
  83. 'post_init_hook': '_synchronize_cron',
  84. 'license': 'LGPL-3',
  85. }