2009-10-13 05:58:37 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2008-11-03 19:18:56 +00:00
|
|
|
##############################################################################
|
2010-03-18 11:08:23 +00:00
|
|
|
#
|
2008-11-19 13:55:32 +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-03-18 11:08:23 +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
|
|
|
{
|
2012-01-30 10:18:37 +00:00
|
|
|
'name': 'Multiple Analytic Plans',
|
|
|
|
'version': '1.0',
|
|
|
|
'category': 'Accounting & Finance',
|
2011-03-18 11:47:37 +00:00
|
|
|
'description': """
|
2012-07-16 09:45:48 +00:00
|
|
|
This module allows to use several analytic plans according to the general journal.
|
2012-08-20 09:27:16 +00:00
|
|
|
==================================================================================
|
2011-03-18 11:47:37 +00:00
|
|
|
|
|
|
|
Here multiple analytic lines are created when the invoice or the entries
|
2008-09-03 09:40:35 +00:00
|
|
|
are confirmed.
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2008-09-03 09:40:35 +00:00
|
|
|
For example, you can define the following analytic structure:
|
2012-08-20 09:27:16 +00:00
|
|
|
-------------------------------------------------------------
|
2012-08-21 11:13:56 +00:00
|
|
|
* **Projects**
|
|
|
|
* Project 1
|
|
|
|
+ SubProj 1.1
|
2012-08-20 09:27:16 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
+ SubProj 1.2
|
2011-03-21 13:37:47 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
* Project 2
|
2012-08-20 09:27:16 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
* **Salesman**
|
|
|
|
* Eric
|
2012-08-20 09:27:16 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
* Fabien
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2012-08-20 09:27:16 +00:00
|
|
|
Here, we have two plans: Projects and Salesman. An invoice line must be able to write analytic entries in the 2 plans: SubProj 1.1 and Fabien. The amount can also be split.
|
|
|
|
|
|
|
|
The following example is for an invoice that touches the two subprojects and assigned to one salesman:
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
**Plan1:**
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
* SubProject 1.1 : 50%
|
2012-08-20 09:27:16 +00:00
|
|
|
|
2012-08-21 11:13:56 +00:00
|
|
|
* SubProject 1.2 : 50%
|
2012-08-20 09:27:16 +00:00
|
|
|
|
|
|
|
**Plan2:**
|
2008-09-03 09:40:35 +00:00
|
|
|
Eric: 100%
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2012-08-20 09:27:16 +00:00
|
|
|
So when this line of invoice will be confirmed, it will generate 3 analytic lines,for one account entry.
|
2012-07-16 09:45:48 +00:00
|
|
|
|
2012-08-20 09:27:16 +00:00
|
|
|
The analytic plan validates the minimum and maximum percentage at the time of creation of distribution models.
|
2008-08-24 14:45:43 +00:00
|
|
|
""",
|
2012-01-30 10:18:37 +00:00
|
|
|
'author': 'OpenERP SA',
|
2014-08-26 19:40:18 +00:00
|
|
|
'website': 'https://www.odoo.com/page/accounting',
|
2012-01-30 10:18:37 +00:00
|
|
|
'depends': ['account', 'account_analytic_default'],
|
2012-08-17 11:15:40 +00:00
|
|
|
'data': [
|
2010-12-06 06:05:41 +00:00
|
|
|
'security/account_analytic_plan_security.xml',
|
2009-02-03 16:54:02 +00:00
|
|
|
'security/ir.model.access.csv',
|
|
|
|
'account_analytic_plans_view.xml',
|
2010-04-27 05:00:53 +00:00
|
|
|
'account_analytic_plans_report.xml',
|
2010-04-27 07:37:15 +00:00
|
|
|
'wizard/analytic_plan_create_model_view.xml',
|
2011-04-07 05:01:42 +00:00
|
|
|
'wizard/account_crossovered_analytic_view.xml',
|
2014-03-27 18:25:20 +00:00
|
|
|
'views/report_crossoveredanalyticplans.xml',
|
2014-05-30 16:47:50 +00:00
|
|
|
'views/account_analytic_plans.xml',
|
2009-02-03 16:54:02 +00:00
|
|
|
],
|
2012-08-17 11:15:40 +00:00
|
|
|
'demo': [],
|
2014-04-02 16:40:53 +00:00
|
|
|
'test': ['test/acount_analytic_plans_report.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
|
|
|
}
|
2010-07-02 14:09:05 +00:00
|
|
|
|
2008-08-24 14:45:43 +00:00
|
|
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|