2009-10-13 05:58:37 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2008-11-03 19:18:56 +00:00
|
|
|
##############################################################################
|
2010-04-08 05:46:02 +00:00
|
|
|
#
|
2009-10-14 11:15:34 +00:00
|
|
|
# OpenERP, Open Source Management Solution
|
2010-01-12 09:18:39 +00:00
|
|
|
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
2008-11-03 19:18:56 +00:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
2009-10-14 11:15:34 +00:00
|
|
|
# it under the terms of the GNU Affero General Public License as
|
|
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
|
|
# License, or (at your option) any later version.
|
2008-11-03 19:18:56 +00:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2009-10-14 11:15:34 +00:00
|
|
|
# GNU Affero General Public License for more details.
|
2008-11-03 19:18:56 +00:00
|
|
|
#
|
2009-10-14 11:15:34 +00:00
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
2010-04-08 05:46:02 +00:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2008-11-03 19:18:56 +00:00
|
|
|
#
|
|
|
|
##############################################################################
|
2009-01-06 15:56:11 +00:00
|
|
|
|
|
|
|
|
2008-08-24 14:45:43 +00:00
|
|
|
{
|
2011-12-06 12:03:55 +00:00
|
|
|
'name': 'Create Tasks on SO',
|
2009-01-06 15:56:11 +00:00
|
|
|
'version': '1.0',
|
2012-08-17 11:15:40 +00:00
|
|
|
'category': 'Project Management',
|
2009-01-06 15:56:11 +00:00
|
|
|
'description': """
|
2012-07-13 09:13:24 +00:00
|
|
|
Automatically creates project tasks from procurement lines.
|
|
|
|
===========================================================
|
2009-12-22 16:27:03 +00:00
|
|
|
|
2012-07-13 09:13:24 +00:00
|
|
|
This module will automatically create a new task for each procurement order line
|
|
|
|
(e.g. for sale order lines), if the corresponding product meets the following
|
|
|
|
characteristics:
|
2011-03-21 13:37:47 +00:00
|
|
|
|
2012-07-17 10:13:07 +00:00
|
|
|
* Product Type = Service
|
|
|
|
* Procurement Method (Order fulfillment) = MTO (Make to Order)
|
|
|
|
* Supply/Procurement Method = Manufacture
|
2009-12-22 16:27:03 +00:00
|
|
|
|
2011-06-01 10:36:31 +00:00
|
|
|
If on top of that a projet is specified on the product form (in the Procurement
|
2012-07-13 09:13:24 +00:00
|
|
|
tab), then the new task will be created in that specific project. Otherwise, the
|
|
|
|
new task will not belong to any project, and may be added to a project manually
|
|
|
|
later.
|
2009-12-22 16:27:03 +00:00
|
|
|
|
2013-07-09 14:27:06 +00:00
|
|
|
When the project task is completed or cancelled, the corresponding procurement
|
|
|
|
is updated accordingly. For example, if this procurement corresponds to a sale
|
|
|
|
order line, the sale order line will be considered delivered when the task is
|
|
|
|
completed.
|
2008-09-08 22:53:40 +00:00
|
|
|
""",
|
2010-07-28 11:43:44 +00:00
|
|
|
'author': 'OpenERP SA',
|
2014-08-26 19:40:18 +00:00
|
|
|
'website': 'https://www.odoo.com/page/crm',
|
2014-03-27 21:17:47 +00:00
|
|
|
'depends': ['project', 'procurement', 'sale', 'procurement_jit'],
|
2014-05-21 10:27:24 +00:00
|
|
|
'data': ['views/sale_service_view.xml'],
|
|
|
|
'demo': ['demo/sale_service_demo.xml'],
|
2010-05-21 09:13:08 +00:00
|
|
|
'test': ['test/project_task_procurement.yml'],
|
2009-01-06 15:56:11 +00:00
|
|
|
'installable': True,
|
2012-01-30 10:18:37 +00:00
|
|
|
'auto_install': False,
|
2008-08-24 14:45:43 +00:00
|
|
|
}
|
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|