diff --git a/mrp_production_real_cost/README.rst b/mrp_production_real_cost/README.rst index e1c6c98bd..821e9166c 100644 --- a/mrp_production_real_cost/README.rst +++ b/mrp_production_real_cost/README.rst @@ -26,14 +26,15 @@ https://github.com/OCA/product-variant Usage ===== -Operating with a manufacture order, analytic entries adding costs will be +Processing a manufacture order, analytic entries adding costs will be created when: * Some raw material is consumed. * A work order is finished or paused. +* Also, together with *project_timesheet* module, users time is also translated + to costs in the linked analytic account. -Also, thanks to *project_timesheet* modules, users time is also translated to -costs in the linked analytic account. +The sum of all these analytic entries is the real cost. diff --git a/mrp_project/__openerp__.py b/mrp_project/__openerp__.py index f31f096f9..47f7dd49b 100644 --- a/mrp_project/__openerp__.py +++ b/mrp_project/__openerp__.py @@ -12,6 +12,7 @@ "project", ], 'license': 'AGPL-3', + "images": [], "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza," @@ -22,7 +23,8 @@ "views/mrp_production_view.xml", "views/project_project_view.xml", "views/account_analytic_line_view.xml", - "views/project_task_view.xml" + "views/project_task_view.xml", + "views/hr_analytic_timesheet.xml" ], 'installable': True, 'auto_install': False, diff --git a/mrp_project/models/__init__.py b/mrp_project/models/__init__.py index d5f8df4b3..4f8fe9241 100644 --- a/mrp_project/models/__init__.py +++ b/mrp_project/models/__init__.py @@ -8,3 +8,4 @@ from . import account_analytic_line from . import project_project from . import project_task from . import project_task_work +from . import hr_analytic_timesheet diff --git a/mrp_project/models/hr_analytic_timesheet.py b/mrp_project/models/hr_analytic_timesheet.py new file mode 100644 index 000000000..765df5807 --- /dev/null +++ b/mrp_project/models/hr_analytic_timesheet.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +# (c) 2016 Daniel Dico