__manifest__.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'Sales Timesheet',
  5. 'category': 'Hidden',
  6. 'summary': 'Sell based on timesheets',
  7. 'description': """
  8. Allows to sell timesheets in your sales order
  9. =============================================
  10. This module set the right product on all timesheet lines
  11. according to the order/contract you work on. This allows to
  12. have real delivered quantities in sales orders.
  13. """,
  14. 'depends': ['sale_project', 'hr_timesheet'],
  15. 'data': [
  16. 'data/sale_service_data.xml',
  17. 'report/timesheets_analysis_views.xml',
  18. 'security/ir.model.access.csv',
  19. 'security/sale_timesheet_security.xml',
  20. 'views/account_invoice_views.xml',
  21. 'views/sale_order_views.xml',
  22. 'views/product_views.xml',
  23. 'views/project_task_views.xml',
  24. 'views/project_update_templates.xml',
  25. 'views/hr_timesheet_views.xml',
  26. 'views/res_config_settings_views.xml',
  27. 'views/sale_timesheet_portal_templates.xml',
  28. 'views/project_sharing_views.xml',
  29. 'report/report_timesheet_templates.xml',
  30. 'wizard/project_create_sale_order_views.xml',
  31. 'wizard/project_create_invoice_views.xml',
  32. 'wizard/sale_make_invoice_advance_views.xml',
  33. ],
  34. 'demo': [
  35. 'data/sale_service_demo.xml',
  36. ],
  37. 'auto_install': True,
  38. 'uninstall_hook': 'uninstall_hook',
  39. 'assets': {
  40. 'web.assets_frontend': [
  41. 'sale_timesheet/static/src/scss/sale_timesheet_portal.scss',
  42. ],
  43. 'web.assets_backend': [
  44. 'sale_timesheet/static/src/components/**/*',
  45. 'sale_timesheet/static/src/js/so_line_one2many.js',
  46. 'sale_timesheet/static/src/xml/**/*',
  47. ],
  48. 'web.assets_tests': [
  49. 'sale_timesheet/static/tests/**/*',
  50. ],
  51. },
  52. 'license': 'LGPL-3',
  53. 'post_init_hook': '_sale_timesheet_post_init',
  54. }