diff --git a/cor_custom/__manifest__.py b/cor_custom/__manifest__.py index 8b17674..8079f08 100755 --- a/cor_custom/__manifest__.py +++ b/cor_custom/__manifest__.py @@ -29,7 +29,7 @@ 'views/sale_views.xml', 'views/project_view.xml', 'views/hr_timesheet_templates.xml', - # 'views/analytic_view.xml', + 'views/analytic_view.xml', 'report/project_profitability_report_analysis_views.xml', 'views/views.xml', 'views/templates.xml', diff --git a/cor_custom/models/analytic.py b/cor_custom/models/analytic.py index 1e9a5dd..697a09d 100755 --- a/cor_custom/models/analytic.py +++ b/cor_custom/models/analytic.py @@ -8,6 +8,9 @@ from odoo.osv import expression class AccountAnalyticLine(models.Model): _inherit = 'account.analytic.line' + start_time = fields.Float('Start Time', digits=(16, 2)) + end_time = fields.Float('End Time', digits=(16, 2)) + @api.model def create(self, vals): if vals.get('unit_amount') == 0.0: diff --git a/cor_custom/views/analytic_view.xml b/cor_custom/views/analytic_view.xml index 4f3dd79..3c95d65 100755 --- a/cor_custom/views/analytic_view.xml +++ b/cor_custom/views/analytic_view.xml @@ -1,7 +1,7 @@ - + + + + account.analytic.line.tree.hr_timesheet_inherit1 + account.analytic.line + + + + + + + + + + + account.analytic.line.tree.hr_timesheet_inherit1 + account.analytic.line + + + + + + + diff --git a/mail_debrand/__pycache__/__init__.cpython-36.pyc b/mail_debrand/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index 1025e52..0000000 Binary files a/mail_debrand/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/mail_debrand/models/__pycache__/__init__.cpython-36.pyc b/mail_debrand/models/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index 4eff49b..0000000 Binary files a/mail_debrand/models/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/mail_debrand/models/__pycache__/mail_template.cpython-36.pyc b/mail_debrand/models/__pycache__/mail_template.cpython-36.pyc deleted file mode 100755 index 0522fe0..0000000 Binary files a/mail_debrand/models/__pycache__/mail_template.cpython-36.pyc and /dev/null differ diff --git a/mail_debrand/models/__pycache__/mail_thread.cpython-36.pyc b/mail_debrand/models/__pycache__/mail_thread.cpython-36.pyc deleted file mode 100755 index cd0dd58..0000000 Binary files a/mail_debrand/models/__pycache__/mail_thread.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/__pycache__/__init__.cpython-36.pyc b/project_maintenance/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index 4e19977..0000000 Binary files a/project_maintenance/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/models/__pycache__/__init__.cpython-36.pyc b/project_maintenance/models/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index cf21510..0000000 Binary files a/project_maintenance/models/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/models/__pycache__/maintenance.cpython-36.pyc b/project_maintenance/models/__pycache__/maintenance.cpython-36.pyc deleted file mode 100755 index 1113ea1..0000000 Binary files a/project_maintenance/models/__pycache__/maintenance.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/models/__pycache__/project.cpython-36.pyc b/project_maintenance/models/__pycache__/project.cpython-36.pyc deleted file mode 100755 index 8988166..0000000 Binary files a/project_maintenance/models/__pycache__/project.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/report/__pycache__/__init__.cpython-36.pyc b/project_maintenance/report/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index 20d9841..0000000 Binary files a/project_maintenance/report/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/project_maintenance/report/__pycache__/maintenance_report.cpython-36.pyc b/project_maintenance/report/__pycache__/maintenance_report.cpython-36.pyc deleted file mode 100755 index 87adda0..0000000 Binary files a/project_maintenance/report/__pycache__/maintenance_report.cpython-36.pyc and /dev/null differ diff --git a/sub_project/__pycache__/__init__.cpython-36.pyc b/sub_project/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index 07b288b..0000000 Binary files a/sub_project/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/sub_project/models/__pycache__/__init__.cpython-36.pyc b/sub_project/models/__pycache__/__init__.cpython-36.pyc deleted file mode 100755 index db5f834..0000000 Binary files a/sub_project/models/__pycache__/__init__.cpython-36.pyc and /dev/null differ diff --git a/sub_project/models/__pycache__/sub_project.cpython-36.pyc b/sub_project/models/__pycache__/sub_project.cpython-36.pyc deleted file mode 100755 index 04b8db2..0000000 Binary files a/sub_project/models/__pycache__/sub_project.cpython-36.pyc and /dev/null differ